Tests are working with coverage
This commit is contained in:
10
packages/instant/jest.config.js
Normal file
10
packages/instant/jest.config.js
Normal file
@@ -0,0 +1,10 @@
|
||||
module.exports = {
|
||||
roots: ['<rootDir>/test'],
|
||||
coverageDirectory: 'coverage',
|
||||
transform: {
|
||||
'.*.tsx?$': 'ts-jest',
|
||||
},
|
||||
testRegex: '(/__test__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$',
|
||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
||||
collectCoverageFrom: ['src/**/*.{ts,tsx}', '!src/index.tsx'],
|
||||
};
|
||||
Reference in New Issue
Block a user