jest-watch-typeahead
Jest plugin for filtering by filename or test name
Last updated 2 months 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 23+) 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.3.1                                ...           latest (2 months ago)
  • 0.2.2-1                                ...           next (4 months ago)

12 Versions

  • 0.3.1                                ...           2 months ago
  • 0.3.0                                ...           4 months ago
  • 0.2.2-1                                ...           4 months ago
  • 0.2.2-0                                ...           4 months ago
  • 0.2.1                                ...           6 months ago
  • 0.2.0                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 0.1.0-3                                ...           a year ago
  • 0.1.0-2                                ...           a year ago
  • 0.1.0-1                                ...           a year ago
  • 0.1.0-0                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (2)
Downloads
Today 692
This Week 9,383
This Month 32,656
Last Day 2,156
Last Week 12,176
Last Month 40,123
Dependencies (6)
Dev Dependencies (17)
Dependents (709)

Copyright 2014 - 2016 © taobao.org |