Skip to content

Commit

Permalink
maybe give the sunburst actual data
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-codecov committed May 16, 2024
1 parent 9d5cdc4 commit e28dde5
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion src/pages/RepoPage/CoverageTab/CoverageTab.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,28 @@ const repoConfigMock = {
},
}

const treeMock = [{ name: 'repoName', children: [] }]
const treeMock = [
{
name: 'src',
full_path: 'src',
coverage: 98.0,
lines: 13026,
hits: 12828,
partials: 4,
misses: 194,
children: [
{
name: 'App.tsx',
full_path: 'src/App.tsx',
coverage: 100.0,
lines: 47,
hits: 47,
partials: 0,
misses: 0,
},
],
},
]

const overviewMock = {
owner: {
Expand Down

0 comments on commit e28dde5

Please sign in to comment.