We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ea5708 commit a191adeCopy full SHA for a191ade
jest.config.js
@@ -21,5 +21,8 @@ module.exports = {
21
// The pattern Jest uses to detect test files.
22
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.jsx?$',
23
24
- testURL: 'http://localhost/'
+ // This option sets the URL for the jsdom environment.
25
+ // It is reflected in properties such as location.href.
26
+ // @see: https://github.com/facebook/jest/issues/6769
27
+ testURL: 'http://localhost/',
28
};
0 commit comments