Skip to content

Commit 5916ccb

Browse files
committed
chore: updates jest configuration to support 28.x jsdom environment + config patterns
1 parent ac59d79 commit 5916ccb

File tree

3 files changed

+968
-13
lines changed

3 files changed

+968
-13
lines changed

jest.config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"clearMocks": true,
33
"restoreMocks": true,
44
"testMatch": ["<rootDir>/src/__tests__/*.spec.js"],
5-
"testURL": "http://localhost/",
5+
"testEnvironmentOptions": {
6+
"url": "http://localhost/"
7+
},
68
"modulePaths": ["src/"],
79
"testEnvironment": "jsdom",
810
"verbose": true

0 commit comments

Comments
 (0)