Skip to content

Commit

Permalink
fix: update config init collectCoverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
davc0n committed Apr 29, 2021
1 parent 51f2e59 commit def2fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-cli/src/init/__tests__/init.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe('init', () => {
const writtenJestConfig = fs.writeFileSync.mock.calls[0][1];
const evaluatedConfig = eval(writtenJestConfig);

expect(evaluatedConfig).toEqual({coverageDirectory: 'coverage'});
expect(evaluatedConfig).toEqual({collectCoverage: true, coverageDirectory: 'coverage'});
});

it('should create configuration for {coverageProvider: "babel"}', async () => {
Expand Down

0 comments on commit def2fab

Please sign in to comment.