Move jest config out of the way

This commit is contained in:
Christian Georgi
2021-07-12 15:16:19 +02:00
parent 444dcacb14
commit a89ec34f7c
2 changed files with 15 additions and 16 deletions

15
jest.config.js Normal file
View File

@@ -0,0 +1,15 @@
module.exports = {
testEnvironment: 'node',
transform: {
"\\.ts$": "ts-jest"
},
globals: {
"ts-jest": {
diagnostics: {
ignoreCodes: [
151001 // see https://githubmemory.com/repo/kulshekhar/ts-jest/issues/2722
]
}
}
}
}

View File

@@ -39,22 +39,6 @@
"mocha": {
"parallel": true
},
"jest": {
"testEnvironment": "node",
"transform": {
"\\.ts$": "ts-jest"
},
"globals": {
"ts-jest": {
"diagnostics": {
"_comment": "see https://githubmemory.com/repo/kulshekhar/ts-jest/issues/2722",
"ignoreCodes": [
151001
]
}
}
}
},
"license": "SAP SAMPLE CODE LICENSE",
"private": true
}