Skip to content

Commit

Permalink
Updated jest version and set testURL
Browse files Browse the repository at this point in the history
Due to a minor release of jsdom, jest cannot handle default testURL anymore. testURL now needs to be specified explicitely. Here, localhost was used.
  • Loading branch information
jansule committed Aug 7, 2018
1 parent dee862d commit 59017e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ module.exports = {
'src/**/*.js',
'!src/**/*example*.*'
],
coverageDirectory: '<rootDir>/coverage'
coverageDirectory: '<rootDir>/coverage',
testURL: 'http://localhost/'
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"eslint-plugin-markdown": "1.0.0-beta.7",
"eslint-plugin-react": "7.10.0",
"file-loader": "1.1.11",
"jest": "22.4.3",
"jest": "23.4.2",
"less": "3.8.0",
"less-loader": "4.1.0",
"np": "3.0.4",
Expand Down

0 comments on commit 59017e0

Please sign in to comment.