Commit c4ff2d70 authored by Scott Hampton's avatar Scott Hampton

Clean up `test_coverage_table_spec` file

Use more mock data in the test coverage table
spec file. Also refactor how we handle mock
apollo queries.
parent 0a45fdb9
export const defaultTestCoverageTable = {
allCoverageData: [],
allProjectsSelected: false,
hasError: false,
isLoading: false,
projectIds: {},
};
export const projects = [
{
fullPath: 'test/test',
name: 'test',
id: 1,
repository: {
rootRef: 'master',
},
codeCoveragePath: '#',
codeCoverageSummary: {
averageCoverage: '1.45',
coverageCount: '1',
lastUpdatedOn: '2021-01-30T20:34:14.302Z',
},
},
];
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment