How to use the tape.fail function in tape

To help you get started, we’ve selected a few tape 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 uber / lint-trap / test / post-install.tape.js View on Github external
main(function runTests(err, fixturePaths) {
        if (err) {
            debug('main', err);
            return test.fail();
        }
        debug('running tests ...');

        t.plan(6);
        fixturePaths.forEach(testSymlinks.bind(null, t));
        async.each(fixturePaths, rimraf, function eachCallback() {
            t.end();
        });
    });
});