mocha-runkit

0.0.2 • Public • Published

Mocha + RunKit = ♥️

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

/mocha-runkit/

    Package Sidebar

    Install

    npm i mocha-runkit

    Weekly Downloads

    1

    Version

    0.0.2

    License

    MPL-2.0

    Unpacked Size

    2 kB

    Total Files

    4

    Last publish

    Collaborators

    • qfox