no-iits

Scan a glob pattern for iit/it.only/describe.only/etc

Usage no npm install needed!

<script type="module">
  import noIits from 'https://cdn.skypack.dev/no-iits';
</script>

README

no-iits

Detects iit/it.only/describe.only in your test files. Accepts a glob pattern (or list of glob patterns) on the command line, but will default to test/*.js (the same default as mocha).

Example usage:

package.json

{
  "scripts": {
    "test": "noiit && mocha"
  }
}