0.0.2 • Published 6 years ago

mocha-runkit v0.0.2

Weekly downloads
1
License
MPL-2.0
Repository
-
Last release
6 years ago

Mocha + RunKit = :hearts:

Stupidly simple alpha version of mocha runner adapted for RunKit with broken interface.

Installation

No need. Use RunKit.

Usage

For now you can run tests in RunKit like this:

const { tests } = require('mocha-runkit');
const { expect } = require('chai');

await tests({
    'green': () => {
        expect(1).to.equal(1);
    },

    'red': () => {
        expect(24).to.equal(42);
    }
});

License

MPL-2.0