aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2021-05-03 21:18:29 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2021-05-03 21:18:29 +0200
commitfb76052a02708a8fafa310d99d7d7b403b4b7ad8 (patch)
tree6e7e38e55951de4362bee9e4f314c377666f10d4 /README.md
parent26dfa00e2f4eddbdc71ae4d92ee5676f11413ada (diff)
Update documentation
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index e78b591..e8b6201 100644
--- a/README.md
+++ b/README.md
@@ -16,13 +16,14 @@ that's running before starting.
## Testing
-You can run tests with `npm test`. The tests use `testing-library` and
-`jest`.
+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
[node]: https://nodejs.org/en/
[forum-server]: https://gitlab.com/rbdr/forum-server