diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/development/testing_guide/frontend_testing.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/development/testing_guide/frontend_testing.md b/doc/development/testing_guide/frontend_testing.md index 3cee301465d..f58a8dcbcdc 100644 --- a/doc/development/testing_guide/frontend_testing.md +++ b/doc/development/testing_guide/frontend_testing.md @@ -28,7 +28,7 @@ we need to solve before being able to use Jest for all our needs. ### Debugging Jest tests -The [Jest docs](https://jestjs.io/docs/en/troubleshooting#tests-are-failing-and-you-don-t-know-why) show how to debug tests. We also need to pass `BABEL_ENV=jest` environment variable, e.g. `BABEL_ENV=jest node --inspect-brk node_modules/.bin/jest --runInBand` +Running `yarn jest-debug` will run Jest in debug mode, allowing you to debug/inspect as described in the [Jest docs](https://jestjs.io/docs/en/troubleshooting#tests-are-failing-and-you-don-t-know-why). ### Timeout error |