mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 04:09:12 +00:00
[jest]: make ts-jest shut up
This commit is contained in:
parent
e4d5ab8d31
commit
f7dce2cd82
2 changed files with 2 additions and 3 deletions
|
@ -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"
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue