@typed/test
Version:
Simple test framework
9 lines • 380 B
JavaScript
import { Describe } from './describe';
import { blue } from 'typed-colors';
import { curry2 } from '167';
export var given = curry2(function (what, tests) {
var test = new Describe(what, tests);
var name = blue('given') + " " + what;
return { name: name, tests: test.tests, run: function (timeout) { return test.run(timeout); } };
});
//# sourceMappingURL=given.js.map