From 37784efa065238196fac265cbb74bbc2d204e964 Mon Sep 17 00:00:00 2001 From: httpsxiao Date: Thu, 5 Dec 2019 12:52:46 +0800 Subject: [PATCH] update jest.config --- jest.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jest.config.js b/jest.config.js index 89aee2c40..ab5cf7f0e 100644 --- a/jest.config.js +++ b/jest.config.js @@ -5,6 +5,5 @@ module.exports = { moduleNameMapper: { '\\.(css|styl)$': 'identity-obj-proxy' }, - testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$', - moduleFileExtensions: ['js', 'jsx', 'json', 'node'] + moduleFileExtensions: ['js', 'json'] }