Skip to content

Conversation

@abetomo
Copy link

@abetomo abetomo commented Aug 13, 2018

The following errors were fixed.

  ● Test suite failed to run

      SecurityError: localStorage is not available for opaque origins

            at Window.get localStorage [as localStorage]
            (node_modules/jsdom/lib/jsdom/browser/Window.js:257:15)
                      at Array.forEach (<anonymous>)

The following errors were fixed.
```
  ● Test suite failed to run

      SecurityError: localStorage is not available for opaque origins

            at Window.get localStorage [as localStorage]
            (node_modules/jsdom/lib/jsdom/browser/Window.js:257:15)
                      at Array.forEach (<anonymous>)
```

* https://github.com/facebook/jest/blob/master/CHANGELOG.md#2350
    * jestjs/jest#6792
@sylhare
Copy link

sylhare commented Nov 27, 2018

Allo

For me #1424 using the testURL: 'http://localhost' in the jest.config.js did the trick. Updating did not solve the problem.

@abetomo
Copy link
Author

abetomo commented Jul 26, 2019

A newer jest is released so close it.

@abetomo abetomo closed this Jul 26, 2019
@abetomo abetomo deleted the upgrade_jest_23_5_0 branch July 26, 2019 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants