mocha-bdd-when

Allows to execute tests conditionally.

Usage no npm install needed!

<script type="module">
  import mochaBddWhen from 'https://cdn.skypack.dev/mocha-bdd-when';
</script>

README

Build Status Dependencies devDependencies NPM version

mocha-bdd-when

Allows to execute tests conditionally

How to use

var when = require('mocha-bdd-when');

when(true).describe('Test Suite', function () {
    when(false).it('should do something', function () {
        // ...
    });
});