0.10.0 • Published 8 months ago

3h-test v0.10.0

Weekly downloads
34
License
MIT
Repository
github
Last release
8 months ago

3h-test

A simple test lib.

Links

Example

const T = require('3h-test');

T.test({ // default context options
    timeout: 1000,
}, { // test cases

    strictEqual(context) { // test case 0
        context.assertStrictEqual(1 + 2, 3);
    },

    promise(context) { // test case 1
        context.expectResolved(
            somePromise,
            'label',
            data => {
                // extra check on the data...
            }
        );
    },

});
0.10.0

8 months ago

0.9.0

1 year ago

0.8.0

2 years ago

0.7.0

2 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.2

3 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago