From dd24c6a81909ff0ae4ad536f2a8c09c4c8853219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chalifour?= Date: Fri, 12 Apr 2019 14:21:40 +0200 Subject: [PATCH] chore(jest): create config file --- jest.config.js | 7 +++++++ package.json | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 jest.config.js 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" } }