You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -92,9 +92,9 @@ None. Please don't use this as a standalone server. This should be used behind a
92
92
93
93
## Developers
94
94
95
-
1. Start the database using `docker-compose -f test/db/docker-compose.yml up`.
96
-
2. Run `npm run dev`.
97
-
3. Run `npm test` while you work.
95
+
To start developing, run `npm run dev`. It will set up the database with Docker for you. The server will restart on file change.
96
+
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.
0 commit comments