Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade jest #1434

Closed
wants to merge 1 commit into from
Closed

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