Skip to content

Commit 752d4d5

Browse files
committed
docs: more update to dev instructions
1 parent 25e044a commit 752d4d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ None. Please don't use this as a standalone server. This should be used behind a
9494

9595
To start developing, run `npm run dev`. It will set up the database with Docker for you. The server will restart on file change.
9696

97-
To test your changes, run `npm run test`. To review your changes, add the `-u/--updateSnapshot` flag to `jest` on the `test:run` script, run `npm run test`, and then review the git diff of the snapshots. Don't forget to remove the `-u/--updateSnapshot` flag when committing.
97+
If you are fixing a bug, you should create a new test case. To test your changes, add the `-u/--updateSnapshot` flag to `jest` on the `test:run` script, run `npm run test`, and then review the git diff of the snapshots. Depending on your change, you may see `id` fields being changed - this is expected and you are free to commit it, as long as it passes the CI. Don't forget to remove the `-u/--updateSnapshot` flag when committing.
9898

9999
## Licence
100100

0 commit comments

Comments
 (0)