2017.1 + Jest + mock-local-storage - No Dice

I'm attempted to use the built in Jest support with 2017.1 to test a React project that's using the mock-local-storage plugin. In my package.json, I have the following config: https://cl.ly/0P1q223E1I2p

That mock-local-storage plugin appears to be causing problems when I try to run: https://cl.ly/332c3H0l0i32

Here's my config: https://cl.ly/2P2E1o0Q2z1X

For the record, all tests work fine when running them from the command line. The mock-local-storage library is in devDependencies in package.json.

Any ideas?

0
3 comments

Looks similar to https://youtrack.jetbrains.com/issue/WEB-26029;

please try updating to 2017.1.1 - does it help? If not, can you provide a sample project that shows up the issue?

0
Avatar
Permanently deleted user

Hmm, does look similar. I'm sorry, but I'm already on 2017.1.2. Should have made that clearer. I'll work on creating a barebones project tonight and add it.

0

Thanks for update, look forward to the project!

0

Please sign in to leave a comment.