0.0.2 • Published 9 years ago
never-say-only v0.0.2
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.
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.