2.0.0 • Published 8 months ago

@supertape/engine-loader v2.0.0

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

@supertape/engine-loader NPM version Build Status Coverage Status

Load operators into supertape.

Install

npm i @supertape/engine-loader -D

Examples

import {loadOperators} from '@supertape/engine-loader';
import {
    extend,
    stub,
} from 'supertape';

const operators = await loadOperators(['stub']);

const test = extend(operators);

test('with operators', (t) => {
    const fn = stub();
    
    fn('hello');
    
    t.calledWith(fn, ['hello']);
    t.end();
});

License

MIT

2.0.0

8 months ago

1.1.3

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago