Skip to content

Commit

Permalink
Merge pull request #4371 from himdel/jest-fix
Browse files Browse the repository at this point in the history
Jest - fix "SecurityError: localStorage is not available for opaque origins"
  • Loading branch information
martinpovolny authored Jul 29, 2018
2 parents e776256 + 10e706f commit 1520493
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
roots: ['app/javascript'],
setupFiles: ['./config/jest.setup.js'],
testRegex: '(/__tests__/.*|(\\.|_|/)(test|spec))\\.(jsx?|tsx?)$',
testURL: 'http://localhost',
transform: {
'^.+\\.jsx?$': 'babel-jest',
'.(ts|tsx)': 'ts-jest'
Expand Down

0 comments on commit 1520493

Please sign in to comment.