Skip to content

Commit

Permalink
update msw mock responses with new field
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-codecov committed Jan 6, 2025
1 parent 79f1028 commit 8024fc8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ const mockCommitPageData = ({
__typename: 'Comparison',
},
bundleAnalysis: {
bundleAnalysisReport: {
__typename: 'BundleAnalysisReport',
isCached: false,
},
bundleAnalysisCompareWithParent: {
__typename: firstPullRequest
? 'FirstPullRequest'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,10 @@ const mockCommitPageData = (
: 'Comparison',
},
bundleAnalysis: {
bundleAnalysisReport: {
__typename: 'BundleAnalysisReport',
isCached: false,
},
bundleAnalysisCompareWithParent: {
__typename: 'BundleAnalysisComparison',
},
Expand Down
4 changes: 4 additions & 0 deletions src/pages/CommitDetailPage/CommitDetailPage.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ const mockCommitPageData = ({
__typename: 'Comparison',
},
bundleAnalysis: {
bundleAnalysisReport: {
__typename: 'BundleAnalysisReport',
isCached: false,
},
bundleAnalysisCompareWithParent: {
__typename: 'BundleAnalysisComparison',
},
Expand Down

0 comments on commit 8024fc8

Please sign in to comment.