Using Jest in your projects? Learn how WebStorm can help you run and debug Jest tests, do snapshot testing and build coverage reports: https://blog.jetbrains.com/webstorm/2018/10/testing-with-jest-in-webstorm/ …pic.twitter.com/eQGgpCcdk2
Sorry for the delayed reply! Can you please tell a bit more about the config file's location in the project structure? In general, the IDE will look for config in the module/project root and use it in the automatically created configuration.
-
-
We have in our root dir a jest.config file (the node server) and we also have a jest.config file in a sub directory (the web app). When running the tests located in the server all goes well (as they are pointing to the correct config file), but when running the tests in the ui
-
there is an error and we have to manually configure the jest test runner to work with the config file which is placed in the web dir. A solution could be for the IDE by default to look for the closest jest.config file. Hope it's more clear now...
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.