Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/negativetwelve/jest-plugins

Adds plugins feature to jest for easily adding extensions.
https://github.com/negativetwelve/jest-plugins

Last synced: 2 days ago
JSON representation

Adds plugins feature to jest for easily adding extensions.

Awesome Lists containing this project

README

        

# Jest Plugins

[![CircleCI](https://img.shields.io/circleci/project/github/negativetwelve/jest-plugins.svg?label=circle)](https://circleci.com/gh/negativetwelve/jest-plugins)
[![Travis](https://img.shields.io/travis/negativetwelve/jest-plugins.svg?label=travis)](https://travis-ci.org/negativetwelve/jest-plugins)
[![AppVeyor](https://img.shields.io/appveyor/ci/negativetwelve/jest-plugins/master.svg?label=appveyor)](https://ci.appveyor.com/project/negativetwelve/jest-plugins)
[![Coveralls](https://img.shields.io/coveralls/negativetwelve/jest-plugins.svg)](https://coveralls.io/github/negativetwelve/jest-plugins?branch=master)

Adds plugins feature to jest for easily adding extensions.

## Getting Started

[The full instructions for utilizing `jest-plugins` in your project are located here.](/packages/jest-plugins#readme)

## Packages

The Jest Plugins repo is managed as a monorepo that is composed of many npm packages.

### Core Packages

Plugin | Version | Description
-------|---------|------------
[`jest-plugins`](/packages/jest-plugins) | [![npm](https://img.shields.io/npm/v/jest-plugins.svg)][npm-plugins] | Adds the `plugins` feature to Jest.
[`jest-plugins-recommended`](/packages/jest-plugins-recommended) | [![npm](https://img.shields.io/npm/v/jest-plugins-recommended.svg)][npm-recommended] | Recommended set of jest plugins.

[npm-plugins]: https://www.npmjs.com/package/jest-plugins
[npm-recommended]: https://www.npmjs.com/package/jest-plugins-recommended

### Plugin Sets

Plugin | Version | Description
-------|---------|------------
[`jest-plugins-react`](/packages/jest-plugins-react) | [![npm](https://img.shields.io/npm/v/jest-plugins-react.svg)][npm-react] | Jest plugins for testing React components.
[`jest-plugins-rspec`](/packages/jest-plugins-rspec) | [![npm](https://img.shields.io/npm/v/jest-plugins-rspec.svg)][npm-rspec] | Jest plugins for RSpec syntax.

[npm-react]: https://www.npmjs.com/package/jest-plugins-react
[npm-rspec]: https://www.npmjs.com/package/jest-plugins-rspec

### Plugins

Plugin | Version | Description
-------|---------|------------
[`jest-plugin-action`](/packages/jest-plugin-action) | [![npm](https://img.shields.io/npm/v/jest-plugin-action.svg)][npm-action] | Declarative method for testing actions using jest.
[`jest-plugin-console-matchers`](/packages/jest-plugin-console-matchers) | [![npm](https://img.shields.io/npm/v/jest-plugin-console-matchers.svg)][npm-console-matchers] | Adds `console` matchers to expect `error`, `info`, `log`, or `warn`.
[`jest-plugin-context`](/packages/jest-plugin-context) | [![npm](https://img.shields.io/npm/v/jest-plugin-context.svg)][npm-context] | Adds `context` as an alternative to `describe` for jest.
[`jest-plugin-for-each`](/packages/jest-plugin-for-each) | [![npm](https://img.shields.io/npm/v/jest-plugin-for-each.svg)][npm-for-each] | Test multiple values for a single outcome.
[`jest-plugin-fs`](/packages/jest-plugin-fs) | [![npm](https://img.shields.io/npm/v/jest-plugin-fs.svg)][npm-fs] | Mock out the filesystem in your tests.
[`jest-plugin-it-renders`](/packages/jest-plugin-it-renders) | [![npm](https://img.shields.io/npm/v/jest-plugin-it-renders.svg)][npm-it-renders] | Easily test that your React components render.
[`jest-plugin-its`](/packages/jest-plugin-its) | [![npm](https://img.shields.io/npm/v/jest-plugin-its.svg)][npm-its] | Adds `its` helper to quickly check `subject` properties.
[`jest-plugin-set`](/packages/jest-plugin-set) | [![npm](https://img.shields.io/npm/v/jest-plugin-set.svg)][npm-set] | Declaratively `set` your variables lazily. Implements `let` from RSpec.
[`jest-plugin-unhandled-promise`](/packages/jest-plugin-unhandled-promise) | [![npm](https://img.shields.io/npm/v/jest-plugin-unhandled-promise.svg)][npm-unhandled-promise] | Surfaces unhandled promise rejections in jest tests.

[npm-action]: https://www.npmjs.com/package/jest-plugin-action
[npm-console-matchers]: https://www.npmjs.com/package/jest-plugin-console-matchers
[npm-context]: https://www.npmjs.com/package/jest-plugin-context
[npm-for-each]: https://www.npmjs.com/package/jest-plugin-for-each
[npm-fs]: https://www.npmjs.com/package/jest-plugin-fs
[npm-it-renders]: https://www.npmjs.com/package/jest-plugin-it-renders
[npm-its]: https://www.npmjs.com/package/jest-plugin-its
[npm-set]: https://www.npmjs.com/package/jest-plugin-set
[npm-unhandled-promise]: https://www.npmjs.com/package/jest-plugin-unhandled-promise