Skip to content
Snippets Groups Projects
Commit 0e0b46ed authored by Tom French's avatar Tom French
Browse files

fix: stop the web tests from running in node environment

parent 3118cf26
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment