UNPKG

@typed/test

Version:
19 lines 717 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const describe_1 = require("./describe"); const updateModifier_1 = require("./updateModifier"); function given(that, tests) { return describe_1.describe(`given ${that}`, tests); } exports.given = given; (function (given) { function only(what, tests) { return updateModifier_1.updateModifier('only', given(what, tests)); } given.only = only; function skip(what, tests) { return updateModifier_1.updateModifier('skip', given(what, tests.map(x => updateModifier_1.updateModifier('skip', x)))); } given.skip = skip; })(given = exports.given || (exports.given = {})); //# sourceMappingURL=given.js.map