Skip to content

Commit

Permalink
[schema] Set testURL for Jest to avoid jestjs/jest#6769
Browse files Browse the repository at this point in the history
  • Loading branch information
skogsmaskin committed Dec 14, 2018
1 parent 27fef05 commit 685a523
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@sanity/schema/jest.config.js
@@ -1,4 +1,5 @@
module.exports = {
transform: {'^.+\\.jsx?$': 'babel-jest'},
testRegex: 'test\\/.*\\.test\\.js'
testRegex: 'test\\/.*\\.test\\.js',
testURL: 'http://localhost/'
}

0 comments on commit 685a523

Please sign in to comment.