mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 12:19:10 +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",
|
preset: "ts-jest",
|
||||||
verbose: true,
|
verbose: true,
|
||||||
bail: true,
|
bail: true,
|
||||||
jsx: true,
|
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
setupFilesAfterEnv: ['<rootDir>/setupTests.js'],
|
setupFilesAfterEnv: ['<rootDir>/setupTests.ts'],
|
||||||
snapshotSerializers: [
|
snapshotSerializers: [
|
||||||
'enzyme-to-json/serializer'
|
'enzyme-to-json/serializer'
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
".(ts|tsx)": "ts-jest"
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue