coffeelint-no-mocha-only
This CoffeeLint plugin verifies there are no describe.only's or it.only's left in mocha tests
Last updated 4 years ago by rkstedman .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install coffeelint-no-mocha-only 
SYNC missed versions from official npm registry.

CoffeeLint - no-mocha-only

NPM Version

Description

This CoffeeLint plugin verifies there are no describe.only or it.only in use. If you are using mocha, using describe.only or it.only is helpful when developing tests locally, but to avoid committing the only usage and preventing the full test suite from being run in the future, you can use this coffeelint rule.

Installation

[sudo] npm install [-g] coffeelint-no-mocha-only

Usage

Insert the below configuration into coffeelint.json that you use for linting your scripts:

"no_mocha_only": {
    "module": "coffeelint-no-mocha-only",
    "level": "error"
}

Configuration

There are no configuration options for this plugin

Current Tags

  • 1.0.0                                ...           latest (4 years ago)

1 Versions

  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |