[jest]: make ts-jest shut up

This commit is contained in:
41666 2019-06-04 17:55:05 -05:00
parent e4d5ab8d31
commit f7dce2cd82
2 changed files with 2 additions and 3 deletions

View file

@ -2,13 +2,12 @@ module.exports = {
preset: "ts-jest",
verbose: true,
bail: true,
jsx: true,
testEnvironment: 'node',
setupFilesAfterEnv: ['<rootDir>/setupTests.js'],
setupFilesAfterEnv: ['<rootDir>/setupTests.ts'],
snapshotSerializers: [
'enzyme-to-json/serializer'
],
transform: {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
".(ts|tsx)": "ts-jest"
},
}