@typed/test
Version:
Simple test framework
11 lines • 368 B
JavaScript
import { curry2 } from '167';
import { isTestCollection } from './isTestCollection';
export var timeout = curry2(function (time, test) {
function run() {
return test.run(time);
}
return isTestCollection(test)
? { name: test.name, tests: test.tests, run: run }
: { name: test.name, run: run };
});
//# sourceMappingURL=timeout.js.map