mirror of
https://github.com/nick-fields/retry.git
synced 2026-02-10 07:05:29 +00:00
* test: move timeout tests to their own job to speed things up slightly * test: add comment about timeout tests * test: fix needs in cd job * test: add jest configuration and first test * test: setup codecov to track coverage
14 lines
312 B
JavaScript
14 lines
312 B
JavaScript
module.exports = {
|
|
clearMocks: true,
|
|
moduleFileExtensions: ['js', 'ts'],
|
|
rootDir: '..',
|
|
testEnvironment: 'node',
|
|
testMatch: ['<rootDir>/src/**/*.test.ts'],
|
|
transform: {
|
|
'^.+\\.ts$': 'ts-jest',
|
|
},
|
|
verbose: true,
|
|
collectCoverage: true,
|
|
collectCoverageFrom: ['src/**/*.{js,ts,jsx,tsx}'],
|
|
};
|