Skip to content

Commit

Permalink
Document VERBOSE=1 tip when running the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fflorent committed Jul 18, 2024
1 parent aaec200 commit 21d1b80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions documentation/develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ You may run the tests using one of these commands:

Also some options that may interest you:
- `GREP_TESTS="pattern"` in order to filter the tests to run, for example: `GREP_TESTS="Boot" yarn test:nbrowser`
- `VERBOSE=1` in order to view logs when a server is spawned (especially useful to debug the end-to-end and backend tests)
- `SERVER_NODE_OPTIONS="node options"` in order to pass options to the server being tested,
for example: `SERVER_NODE_OPTIONS="--inspect --inspect-brk" GREP_TESTS="Boot" yarn test:nbrowser`
to run the tests with the debugger (you should close the debugger each time the node process should stop)
Expand Down

0 comments on commit 21d1b80

Please sign in to comment.