jest-watch-typeahead
Jest plugin for filtering by filename or test name
Last updated 21 days ago by simenb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install jest-watch-typeahead 
SYNC missed versions from official npm registry.

Build Status npm version

jest-watch-typeahead

Filter your tests by file name or test name

watch

Usage

Install

Install jest(it needs Jest 26+) and jest-watch-typeahead

yarn add --dev jest jest-watch-typeahead

# or with NPM

npm install --save-dev jest jest-watch-typeahead

Add it to your Jest config

In your package.json

{
  "jest": {
    "watchPlugins": [
      "jest-watch-typeahead/filename",
      "jest-watch-typeahead/testname"
    ]
  }
}

Or in jest.config.js

module.exports = {
  watchPlugins: [
    'jest-watch-typeahead/filename',
    'jest-watch-typeahead/testname',
  ],
};

Configuring your key and prompt name

module.exports = {
  watchPlugins: [
    [
      'jest-watch-typeahead/filename',
      {
        key: 'k',
        prompt: 'do something with my custom prompt',
      },
    ],
  ],
};

Run Jest in watch mode

yarn jest --watch

Current Tags

  • 0.6.0                                ...           latest (21 days ago)
  • 0.2.2-1                                ...           next (a year ago)

17 Versions

  • 0.6.0                                ...           21 days ago
  • 0.5.0                                ...           2 months ago
  • 0.4.2                                ...           7 months ago
  • 0.4.1                                ...           7 months ago
  • 0.4.0                                ...           9 months ago
  • 0.3.1                                ...           a year ago
  • 0.3.0                                ...           a year ago
  • 0.2.2-1                                ...           a year ago
  • 0.2.2-0                                ...           a year ago
  • 0.2.1                                ...           a year ago
  • 0.2.0                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.1.0-3                                ...           2 years ago
  • 0.1.0-2                                ...           2 years ago
  • 0.1.0-1                                ...           2 years ago
  • 0.1.0-0                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (2)
Downloads
Today 187
This Week 11,223
This Month 98,019
Last Day 5,508
Last Week 29,186
Last Month 125,236
Dependencies (7)
Dev Dependencies (17)
Dependents (1562)

Copyright 2014 - 2017 © taobao.org |