jest-watch-typeahead
Jest plugin for filtering by filename or test name
Last updated a month 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.4.2                                ...           latest (a month ago)
  • 0.2.2-1                                ...           next (9 months ago)

15 Versions

  • 0.4.2                                ...           a month ago
  • 0.4.1                                ...           a month ago
  • 0.4.0                                ...           4 months ago
  • 0.3.1                                ...           7 months ago
  • 0.3.0                                ...           8 months ago
  • 0.2.2-1                                ...           9 months ago
  • 0.2.2-0                                ...           9 months ago
  • 0.2.1                                ...           10 months ago
  • 0.2.0                                ...           a year 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 1,296
This Week 19,452
This Month 20,581
Last Day 3,502
Last Week 19,710
Last Month 80,388
Dependencies (7)
Dev Dependencies (18)
Dependents (1160)

Copyright 2014 - 2017 © taobao.org |