1.0.2 • Published 5 years ago

tslint-mocha v1.0.2

Weekly downloads
228
License
MIT
Repository
github
Last release
5 years ago

tslint-mocha

This package provides a TSLint rule that help to enforce some best practices when using Mocha test runner.

Supported rules

  • mocha-no-only - to avoid using it.only() or similar methods.

How to install

  • Run npm install --save-dev tslint-mocha
  • Add to your tslint.json file:
  "rules": {
    "mocha-no-only": true
  },
  "rulesDirectory": [
    "tslint-mocha"
  ]

Status

Build Status