jest-plugin-filename

0.0.1 • Public • Published

Build Status npm version

jest-plugin-filename

Filter your tests by filename

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

Dependencies (7)

Dev Dependencies (14)

Package Sidebar

Install

npm i jest-plugin-filename

Weekly Downloads

11

Version

0.0.1

License

MIT

Unpacked Size

25.1 kB

Total Files

12

Last publish

Collaborators

  • simenb
  • rogeliog