The Jest Extended Library
Learn about jest-extended, an open-source library that easily extends our testing toolkit.
We'll cover the following...
Expanding our testing toolkit
In addition to the variety of matchers provided to us directly from Jest, there are a number of libraries that extend its functionality with additional matchers. One of the most common is the jest-extended
jest-extended
library, created and maintained by the Jest community. It includes TypeScript support and extends functionality for asserting upon the following:
- Arrays
- Booleans
- Dates