diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 00000000..47e926d3 --- /dev/null +++ b/jest.config.js @@ -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 + ] + } + } + } +} diff --git a/package.json b/package.json index d3942295..ccf11d94 100644 --- a/package.json +++ b/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 }