@supertape/engine-loader

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