Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
suejung-sentry committed Oct 3, 2024
1 parent 7aa832e commit 54cc7b2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,10 @@ describe('Components Tab', () => {
owner: {
repository: {
__typename: 'Repository',
componentsMeasurementsActive: false,
componentsMeasurementsBackfilled: false,
coverageAnalytics: {
componentsMeasurementsActive: false,
componentsMeasurementsBackfilled: false,
},
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,24 +82,26 @@ const mockedComponentMeasurements = {
owner: {
repository: {
__typename: 'Repository',
components: [
{
name: 'component1',
componentId: 'component1Id',
percentCovered: 93.26,
percentChange: 1.65,
lastUploaded: null,
measurements: [],
},
{
name: 'component2',
componentId: 'component2Id',
percentCovered: 91.74,
percentChange: 2.65,
lastUploaded: null,
measurements: [],
},
],
coverageAnalytics: {
components: [
{
name: 'component1',
componentId: 'component1Id',
percentCovered: 93.26,
percentChange: 1.65,
lastUploaded: null,
measurements: [],
},
{
name: 'component2',
componentId: 'component2Id',
percentCovered: 91.74,
percentChange: 2.65,
lastUploaded: null,
measurements: [],
},
],
},
},
},
}
Expand Down

0 comments on commit 54cc7b2

Please sign in to comment.