Skip to content

This CoffeeLint plugin verifies there are no describe.only's left in mocha tests

Notifications You must be signed in to change notification settings

rkstedman/coffeelint-no-mocha-only

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This CoffeeLint plugin verifies there are no describe.only's left in mocha tests

Resources

Stars

Watchers

Forks

Packages

No packages published