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: docs/docs/test-examples.md
+4
Original file line number
Diff line number
Diff line change
@@ -46,3 +46,7 @@ Test shallow renders with @testing-library/react.
46
46
Eg. [setup: working message form input · ShMcK/coderoad-tutorial-tweeter@1c248ff · GitHub](https://github.com/ShMcK/coderoad-tutorial-tweeter/commit/1c248ff9846c5a27c12a2cbbb77cab1d66613be4)
47
47
You can also test hooks with @testing-library/react-hooks
It's even possible to write tests for tests. The trick is to mock the solution, and run the tests. [Eg Test a Test](https://github.com/ShMcK/test-a-test)
0 commit comments