Introduction to React testing library
React testing library is awesome and fun to use. It allows rendering a test component into DOM, then querying an element within it and make assertions on that element.
Here is a Hello world test using Testing library.
import { render, screen } from ...
vijayt.hashnode.dev1 min read