Skip to content

Commit 29e7fe4

Browse files
committed
test: fix SecurityError: localStorage is not available for opaque origins
ref: jestjs/jest#6769
1 parent 9d4a304 commit 29e7fe4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/jest.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const path = require('path')
66
module.exports = {
77
rootDir: path.resolve(__dirname, '..'),
88
verbose: true,
9+
testURL: 'http://localhost/',
910
moduleFileExtensions: [
1011
'js',
1112
'vue'

0 commit comments

Comments
 (0)