Move jest config out of the way
This commit is contained in:
15
jest.config.js
Normal file
15
jest.config.js
Normal 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
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
16
package.json
16
package.json
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user