From 76f8455f05a4e61a376f28f7f265c69627eb50ef Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Sat, 22 Aug 2020 01:00:33 +0800 Subject: [PATCH] Prevent jest warning on production tests (#9022) --- jest.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jest.config.js b/jest.config.js index 2a5171e64..b228ff773 100644 --- a/jest.config.js +++ b/jest.config.js @@ -26,6 +26,7 @@ module.exports = { "prettier/local": "/tests_config/require_prettier.js", "prettier/standalone": "/tests_config/require_standalone.js", }, + modulePathIgnorePatterns: ["/dist"], testEnvironment: "node", transform: {}, watchPlugins: [