Migrate from Enzyme - Testing Library Migrate from Enzyme This page is intended for developers who have experience with Enzyme and are trying to understand how to migrate to React Testing Library It does not go into great detail about how to migrate all types of tests, but it does have some helpful information for those who are comparing Enzyme with React Testing Library What is React Testing Library? React Testing Library is
Intro | Testing Library Intro Vue Testing Library builds on top of DOM Testing Library by adding APIs for working with Vue components It is built on top of @vue test-utils, the official testing library for Vue Vue Testing Library on GitHub In short, Vue Testing Library does three things: Re-exports query utilities and helpers from DOM Testing Library Hides @vue test-utils methods that are in conflict with Testing
testing-library-selector testing-library-selector testing-library-selector is a library for @testing-library that provides reusable selectors Written in typescript
React Router - Testing Library Testing Library and React Router v5 In your tests, pass the history object as a whole to the Router component Note: React Router v5 only works with History v4, so make sure you have the correct version of history installed
Example - Testing Library Example Read about best practices, or follow the guided example Angular Testing Library can be used with standalone components and also with Angular components that uses Modules The example below shows how to test a standalone component, but the same principles apply to Angular components that uses Modules