How to use the bocha.runOnce function in bocha

To help you get started, we’ve selected a few bocha examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github arnesten / smartdb / test / runAll.js View on Github external
let bocha = require('bocha');

bocha.runOnce(__dirname, {
    fileSuffix: '.tests.js'
});

bocha

Bringing the best of Buster.js to Mocha

MIT
Latest version published 1 month ago

Package Health Score

57 / 100
Full package analysis