From d3e269c92dce865f92c6f7307f80d0bea59f38c3 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Fri, 12 Apr 2024 22:31:35 -0700 Subject: [PATCH] jest --- boilerplates/lerna-module/jest.config.js | 3 ++- boilerplates/lerna-tsx-module/jest.config.js | 3 ++- boilerplates/npm-boilerplate/jest.config.js | 3 ++- boilerplates/telescope-module/jest.config.js | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/boilerplates/lerna-module/jest.config.js b/boilerplates/lerna-module/jest.config.js index b42124882..0aa3aaa49 100644 --- a/boilerplates/lerna-module/jest.config.js +++ b/boilerplates/lerna-module/jest.config.js @@ -13,5 +13,6 @@ module.exports = { }, transformIgnorePatterns: [`/node_modules/*`], testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", - moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"] + moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], + modulePathIgnorePatterns: ["dist/*"] }; diff --git a/boilerplates/lerna-tsx-module/jest.config.js b/boilerplates/lerna-tsx-module/jest.config.js index b42124882..0aa3aaa49 100644 --- a/boilerplates/lerna-tsx-module/jest.config.js +++ b/boilerplates/lerna-tsx-module/jest.config.js @@ -13,5 +13,6 @@ module.exports = { }, transformIgnorePatterns: [`/node_modules/*`], testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", - moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"] + moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], + modulePathIgnorePatterns: ["dist/*"] }; diff --git a/boilerplates/npm-boilerplate/jest.config.js b/boilerplates/npm-boilerplate/jest.config.js index b42124882..0aa3aaa49 100644 --- a/boilerplates/npm-boilerplate/jest.config.js +++ b/boilerplates/npm-boilerplate/jest.config.js @@ -13,5 +13,6 @@ module.exports = { }, transformIgnorePatterns: [`/node_modules/*`], testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", - moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"] + moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], + modulePathIgnorePatterns: ["dist/*"] }; diff --git a/boilerplates/telescope-module/jest.config.js b/boilerplates/telescope-module/jest.config.js index b42124882..0aa3aaa49 100644 --- a/boilerplates/telescope-module/jest.config.js +++ b/boilerplates/telescope-module/jest.config.js @@ -13,5 +13,6 @@ module.exports = { }, transformIgnorePatterns: [`/node_modules/*`], testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", - moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"] + moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], + modulePathIgnorePatterns: ["dist/*"] };