updated website/README.md

This commit is contained in:
ericv105
2023-01-10 14:01:36 -05:00
parent 3673a5bbb0
commit 742ce64706
+10
View File
@@ -137,6 +137,16 @@ A few npm scripts are available for convenience:
Read more in the [./cypress README](cypress/).
## Unit testing
Jest and React Testing Library are used for unit testing JS/TS/TSX code.
- Store unit test files adjacent to the file being tested and have the filename
end with `.test.ts` for non-React code or `.test.tsx` for React code.
- `npm run jest`: automatically runs tests and watches for any relevant changes
to rerun tests.
Read more in the [./src/README.md](src/README.md).
## Best Practices
When writing code for the website, we have a few best practices: