no-build-tools-no-problems icon indicating copy to clipboard operation
no-build-tools-no-problems copied to clipboard

Add example test for react function

Open iandunn opened this issue 4 years ago • 0 comments

68c28c6 added an example of testing a standard function, which is useful. It's important to also have a way to test React functions/components though.

Testing Library looks neat (examples).

I don't like snapshot testing

iandunn avatar Oct 16 '21 18:10 iandunn