Displaying 1 to 5 from 5 results

enzyme - JavaScript Testing utilities for React

  •    Javascript

Enzyme is a JavaScript Testing utility for React that makes it easier to assert, manipulate, and traverse your React Components' output.Enzyme's API is meant to be intuitive and flexible by mimicking jQuery's API for DOM manipulation and traversal.

jsx-test-helpers

  •    Javascript

This package is very small and provide simple helpers to easily use React shallow rendering method in conjunction with react-element-to-jsx-string to write straightforward tests for React component. ⚠️ Be sure to read the test file, which is annotated 😙.