| | |
| | | value: true |
| | | }); |
| | | exports.check = check; |
| | | exports.options = exports.docs = exports.usage = void 0; |
| | | exports.usage = exports.options = exports.docs = void 0; |
| | | |
| | | function _jestConfig() { |
| | | const data = require('jest-config'); |
| | |
| | | |
| | | if (argv.onlyFailures && argv.watchAll) { |
| | | throw new Error( |
| | | `Both --onlyFailures and --watchAll were specified, but these two ` + |
| | | 'Both --onlyFailures and --watchAll were specified, but these two ' + |
| | | 'options do not make sense together.' |
| | | ); |
| | | } |
| | |
| | | }, |
| | | clearMocks: { |
| | | description: |
| | | 'Automatically clear mock calls and instances between every ' + |
| | | 'test. Equivalent to calling jest.clearAllMocks() between each test.', |
| | | 'Automatically clear mock calls, instances and results before every test. ' + |
| | | 'Equivalent to calling jest.clearAllMocks() before each test.', |
| | | type: 'boolean' |
| | | }, |
| | | collectCoverage: { |
| | |
| | | }, |
| | | resetMocks: { |
| | | description: |
| | | 'Automatically reset mock state between every test. ' + |
| | | 'Equivalent to calling jest.resetAllMocks() between each test.', |
| | | 'Automatically reset mock state before every test. ' + |
| | | 'Equivalent to calling jest.resetAllMocks() before each test.', |
| | | type: 'boolean' |
| | | }, |
| | | resetModules: { |
| | |
| | | }, |
| | | restoreMocks: { |
| | | description: |
| | | 'Automatically restore mock state and implementation between every test. ' + |
| | | 'Equivalent to calling jest.restoreAllMocks() between each test.', |
| | | 'Automatically restore mock state and implementation before every test. ' + |
| | | 'Equivalent to calling jest.restoreAllMocks() before each test.', |
| | | type: 'boolean' |
| | | }, |
| | | rootDir: { |