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

15 Versions

  • 0.4.2                                ...           4 months ago
  • 0.4.1                                ...           4 months ago
  • 0.4.0                                ...           6 months ago
  • 0.3.1                                ...           10 months 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 1,620
This Week 12,293
This Month 70,094
Last Day 3,499
Last Week 20,371
Last Month 61,191
Dependencies (7)
Dev Dependencies (18)
Dependents (1358)

Copyright 2014 - 2017 © taobao.org |