jest-plugin-filename

Jest plugin for filtering by filename

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
jest-plugin-filename
0.0.14 years ago4 years agoMinified + gzip package size for jest-plugin-filename in KB

Readme

Build Status npm version

Usage

Install

Install jest(it needs Jest 23+) and jest-plugin-filename
yarn add --dev jest jest-plugin-filename

# or with NPM

npm install --save-dev jest jest-plugin-filename

Add it to your Jest config

In your package.json
{
  "jest": {
    "watchPlugins": ["jest-plugin-filename"]
  }
}

Or in jest.config.js
module.exports = {
  watchPlugins: 'jest-plugin-filename',
};

Run Jest

yarn jest