diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 000000000..9aa5b0908 --- /dev/null +++ b/jest.config.js @@ -0,0 +1,7 @@ +module.exports = { + testEnvironment: 'node', + testPathIgnorePatterns: [ + '/node_modules/', + '/src/templates/', + ], +}; diff --git a/package.json b/package.json index f4b876804..8576c1703 100644 --- a/package.json +++ b/package.json @@ -67,12 +67,5 @@ "jest-image-snapshot": "2.8.1", "release-it": "10.4.1", "walk-sync": "1.1.3" - }, - "jest": { - "testPathIgnorePatterns": [ - "/node_modules/", - "/src/templates/" - ], - "testEnvironment": "node" } }