diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2022-05-01 01:02:58 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2022-05-01 01:02:58 +0200 |
| commit | cac85db02ff00732cf75d473dc3411332f33d845 (patch) | |
| tree | 5f244968a905eb3888434b3f60cbf05d2b652207 /README.md | |
| parent | a7cf03c192470cbab13edeb1aec99e0c66dede10 (diff) | |
Apply formatting
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -20,10 +20,11 @@ You can run tests with `npm test`. The tests use `testing-library`, `pact`, and `jest`. Here's some short guidelines: - - Every component that receives props or changes state should be tested. - - Test expected outcomes, not implementation details. - - Avoid mocking unless it's an external call - - Stores that interact with the API should be tested using pact + +- Every component that receives props or changes state should be tested. +- Test expected outcomes, not implementation details. +- Avoid mocking unless it's an external call +- Stores that interact with the API should be tested using pact [node]: https://nodejs.org/en/ [forum-server]: https://gitlab.com/rbdr/forum-server |