Skip to content

Commit 1ad4a5b

Browse files
committed
Fix jest's testURL option to the exact same value of future default
Please refer to jestjs/jest#6792.
1 parent 385a94d commit 1ad4a5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ module.exports = {
66
'^.*\\.s?css$': '<rootDir>/test/_transformers/css.ts',
77
},
88
testRegex: '(/(test|__tests__)/(?!_).*|(\\.|/)(test|spec))\\.[jt]s$',
9-
testURL: 'http://localhost/',
9+
testURL: 'http://localhost',
1010
moduleFileExtensions: ['ts', 'js', 'json', 'node'],
1111
}

0 commit comments

Comments
 (0)