From 0e0b46ed5ede5639db257fde1af6e4abcb0200ad Mon Sep 17 00:00:00 2001 From: Tom French <tom@tomfren.ch> Date: Wed, 24 Aug 2022 21:13:37 +0100 Subject: [PATCH] fix: stop the web tests from running in node environment --- packages/loot-core/jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/loot-core/jest.config.js b/packages/loot-core/jest.config.js index 30b560f28..be4cce848 100644 --- a/packages/loot-core/jest.config.js +++ b/packages/loot-core/jest.config.js @@ -7,7 +7,7 @@ module.exports = { .concat(['mjs', 'js', 'ts', 'json']), setupFilesAfterEnv: ['<rootDir>/src/mocks/setup.js'], testEnvironment: 'node', - testPathIgnorePatterns: ['/node_modules/', '/lib/', 'index.web.test.js'], + testPathIgnorePatterns: ['/node_modules/', '/lib/', '.+/index.web.test.js'], transformIgnorePatterns: ['__mocks__'], globals: { __TESTING__: true -- GitLab