Testing-Library

Testing Library is a lightweight and simple testing library for testing frontend code, and libraries like React and Vue. It gives us a couple key functions for adding and removing our components from a virtual DOM, and checking the contents of the items we render. The core library is built for Vanilla JS (without a framework) but there are addon utility functions for testing React and Vue. The documents for the library can be found here.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store