From 8024fc896949240ed0d1debe4d6d5ca2e7296544 Mon Sep 17 00:00:00 2001 From: nicholas-codecov Date: Thu, 2 Jan 2025 13:13:28 -0500 Subject: [PATCH] update msw mock responses with new field --- .../CommitBundleAnalysis/CommitBundleAnalysis.test.tsx | 4 ++++ .../CommitDetailPage/CommitCoverage/CommitCoverage.test.jsx | 4 ++++ src/pages/CommitDetailPage/CommitDetailPage.test.tsx | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/src/pages/CommitDetailPage/CommitBundleAnalysis/CommitBundleAnalysis.test.tsx b/src/pages/CommitDetailPage/CommitBundleAnalysis/CommitBundleAnalysis.test.tsx index 782c7d3bc8..68cf301ffe 100644 --- a/src/pages/CommitDetailPage/CommitBundleAnalysis/CommitBundleAnalysis.test.tsx +++ b/src/pages/CommitDetailPage/CommitBundleAnalysis/CommitBundleAnalysis.test.tsx @@ -41,6 +41,10 @@ const mockCommitPageData = ({ __typename: 'Comparison', }, bundleAnalysis: { + bundleAnalysisReport: { + __typename: 'BundleAnalysisReport', + isCached: false, + }, bundleAnalysisCompareWithParent: { __typename: firstPullRequest ? 'FirstPullRequest' diff --git a/src/pages/CommitDetailPage/CommitCoverage/CommitCoverage.test.jsx b/src/pages/CommitDetailPage/CommitCoverage/CommitCoverage.test.jsx index b4a08236e9..1b49948344 100644 --- a/src/pages/CommitDetailPage/CommitCoverage/CommitCoverage.test.jsx +++ b/src/pages/CommitDetailPage/CommitCoverage/CommitCoverage.test.jsx @@ -317,6 +317,10 @@ const mockCommitPageData = ( : 'Comparison', }, bundleAnalysis: { + bundleAnalysisReport: { + __typename: 'BundleAnalysisReport', + isCached: false, + }, bundleAnalysisCompareWithParent: { __typename: 'BundleAnalysisComparison', }, diff --git a/src/pages/CommitDetailPage/CommitDetailPage.test.tsx b/src/pages/CommitDetailPage/CommitDetailPage.test.tsx index 84365a90db..842d5650f3 100644 --- a/src/pages/CommitDetailPage/CommitDetailPage.test.tsx +++ b/src/pages/CommitDetailPage/CommitDetailPage.test.tsx @@ -53,6 +53,10 @@ const mockCommitPageData = ({ __typename: 'Comparison', }, bundleAnalysis: { + bundleAnalysisReport: { + __typename: 'BundleAnalysisReport', + isCached: false, + }, bundleAnalysisCompareWithParent: { __typename: 'BundleAnalysisComparison', },