A simple vanilla toast component using class-based approach with test cases using jest and @testing-library/dom
-
Updated
Aug 17, 2023 - JavaScript
A simple vanilla toast component using class-based approach with test cases using jest and @testing-library/dom
**React Testing Library** is a library for testing React components by focusing on user interactions and behavior rather than implementation details. It encourages tests that resemble how users interact with the app. **Jest** is a JavaScript testing framework that works seamlessly with React Testing Library to run tests, mock functions, and handle
Add bySelector and byAttribute to @testing-library/dom
Counter vanilla js
Add a description, image, and links to the testing-library-dom topic page so that developers can more easily learn about it.
To associate your repository with the testing-library-dom topic, visit your repo's landing page and select "manage topics."