You can test React(ReactNative) runtime performance by using this lib. If you want to check the number of renders, or render time in a test environment, this lib makes sense.
Here is a screenshot test written with react-screenshot-test:
All you need is to install react-screenshot-test and configure Jest:
// jest.screenshot.config.js
module.exports = {
testEnvir
react-split-testing
A/B testing, also called split testing, is an experiment where two (or more) variants of a webpage are shown to users at random, and is used as a means of determining which variant leads to
React mock
Declarative mocks for React state and global APIs.
Jump to
Why?
Component state
Fetch requests
LocalStorage
XHR requests
How to contribute
Why?
The motivation for thi
react-performance-observer
Get performance measurements from React Fiber
Install
yarn add --dev react-performance-observer
Usage
react-performance-observer is a small abstraction over Per
React Testing Library
Simple and complete React DOM testing utilities that encourage good testing practices.
Read The Docs | Edit the docs
Table of Contents
vuex-assert
Assertion for Vuex state
Examples
Just add assertions into your Vuex modules.
// modules/users.js
import {
boolean,
number,
string,
object,
array
} from 'vuex-assert'
export defa
react-unit
React Unit is a lightweight unit test library for ReactJS with very few (js-only) dependencies.
By using react-unit you can run your ReactJS unit tests directly from node or gulp without having to install an
##Legit Tests
This is a super friendly testing library for React, inspired by express middleware, it's easily extendable. Why did I make this when you can use React's Test Utils? Because who likes typing out scryRenderedDOMCompon
Enzyme
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 jQ
ui-harness
Isolate, test and document modular UI with React using familiar describe/it testing semantics.
http://uiharness.com
Quick Start (1-minute)
With the UIHarness you can go from an empty NPM mo