aboutsummaryrefslogtreecommitdiff
path: root/jest.config.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-10-30 12:37:09 +0300
committerGravatar Vitaly Takmazov2024-10-30 12:38:31 +0300
commit6118840a4af6b4e7120754555c01b8d41436625b (patch)
tree7f921a20a479e852e9d17ee6f6d957fbb08ac737 /jest.config.js
parent27cc7b006ac91be9dc883adaf7ea27c46d511df9 (diff)
Fix test environments
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jest.config.js b/jest.config.js
index 69b061e1..abaffdbd 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -8,6 +8,6 @@ module.exports = {
'^.+\\.js$': '@swc/jest'
},
transformIgnorePatterns: ['!node_modules/'],
- testEnvironment: 'node',
+ testEnvironment: 'jsdom',
setupFilesAfterEnv: ['<rootDir>/setupTests.js']
}