From e80bef777a092b709e2f89d67e54e4314a7ff464 Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Thu, 30 Jan 2025 09:36:21 +0000 Subject: [PATCH] fix: exclude package directory from tests --- jest.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 2329e8690..830cc1eb4 100644 --- a/jest.config.js +++ b/jest.config.js @@ -6,6 +6,7 @@ const config = { moduleNameMapper: { jquery: '/src/moj/vendor/jquery.js', sinon: '/node_modules/sinon/pkg/sinon.js' - } + }, + modulePathIgnorePatterns: ['/package/'] } module.exports = config