Skip to content

Commit c9339ed

Browse files
committed
try to fix jdom error by setting jest url property
1 parent 3889d28 commit c9339ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module.exports = {
66
rootDir: 'src',
77
setupFiles: ['jest-localstorage-mock', './jest.setup.js'],
88
testMatch: ['**/__tests__/**/*-test.js'],
9+
testURL: 'http://localhost',
910
transform: {
1011
'^.+\\.js$': 'babel-jest',
1112
},

0 commit comments

Comments
 (0)