Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 618 Bytes

File metadata and controls

32 lines (22 loc) · 618 Bytes

eslint-config-jest-enzyme

npm version License

Installation

We suggest using yarn for installations.

yarn add eslint-config-jest-enzyme --dev

But npm works too!

$ npm install eslint-config-jest-enzyme --save-dev

Setup

Add this extend to your eslint file:

{
  "extends": [
    "jest-enzyme"
  ]
}

This configuration only applies to test files that end in *.test.js.