0.0.2 • Published 9 years ago

never-say-only v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

never-say-only

describe.only 'never-say-only', ->
  it.only 'throws', ->
    if you.set process.env.NEVER_SAY_ONLY, jsonTruthyValue

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.