never-say-only

0.0.2 • Public • Published

never-say-only

describe.only 'never-say-only'->
  it.only 'throws'->
    if you.set process.env.NEVER_SAY_ONLYjsonTruthyValue

A hack job of this rejected mocha PR.

NPM version Build Status

Usage

From any test file:

require('never-say-only')
 
describe(...

Then run your suite with a truthy NEVER_SAY_ONLY environment:

$ NEVER_SAY_ONLY=true mocha

See .travis.yml for an example travis configuration.

Readme

Keywords

Package Sidebar

Install

npm i never-say-only

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • hurrymaplelad