Coder Social home page Coder Social logo

awesome-jest's Introduction

Awesome Jest Awesome

An awesome list of Jest packages and resources

Contents

Packages

Matchers

  • jest-extended Adds additional matchers to core API making it easy to test everything.
  • expect-more A huge library of test matchers for a range of common use-cases.
  • jest-axe Custom Jest matcher for aXe for testing accessibility.
  • jest-enzyme An assertion library for enzyme.
  • jest-json-schema JSON schema matcher.
  • expect-puppeteer Collection of matchers for Jest & Puppeteer.
  • jest-dom Custom Jest matchers to test the dom structure.

IDE

  • vscode-jest Works out of the box Jest based testing in VS Code.
  • wallaby The pinnacle of the idea of a test runner integrated into an editor.

Linting

Runners

Reporters

Results Processors

  • majestic Zero config UI for Jest.
  • jest-stare Configurable HTML results processor for filtering, side-by-side snapshot diffs, API, and simple CLI.

Environments

Snapshot

  • snapshot-diff Takes two values, and return their difference as a string, ready to be snapshotted with toMatchSnapshot(). Especially helpful when testing the difference between different React component states.
  • jest-snapshots-svg Take a React component tree, and render it into an SVG.
  • jest-image-snapshot Take a snapshot test of an image buffer, and catch when the image changes over a threshold. Commonly used for visual regression testing.
  • enzyme-to-json Convert Enzyme wrappers to a format compatible with Jest snapshot testing.
  • jest-styled-components A set of utilities for testing Styled Components with Jest.
  • jest-img-snapshot Image snapshot comparision using pixelmatch with all Jest's snapshot goodies out of the box.
  • Differencify Visual regression testing tool using Jest and Puppeteer to do Image snapshot comparision.

Migration

  • jest-codemods Makes it easy to migrate from other test runner and frameworks to Jest.

Library extensions

Mocks

Watch plugins

Resources

Contribute

Contributions welcome! Read the contribution guidelines.

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.