Skip to content

A local-first personal finance app

fix: stop the web tests from running in node environment

Tom French0e0b46ed5ede
diff --git a/packages/loot-core/jest.config.js b/packages/loot-core/jest.config.js
index 30b560f28b..be4cce8482 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