UNPKG

offensive

Version:

Fast and boilerplate-free precondition checks for javascript.

19 lines (18 loc) 679 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.registerIn = exports.MatchesAssertion = void 0; var MatchesAssertion_1 = require("./MatchesAssertion"); exports.MatchesAssertion = MatchesAssertion_1.default; exports.default = MatchesAssertion_1.default; /** * @author Maciej Chałapuk (maciej@chalapuk.pl) */ function registerIn(registry) { registry.addAssertionFactory({ matches: MatchesAssertion_1.default.factory, matchesRegExp: MatchesAssertion_1.default.factory, matchesRegexp: MatchesAssertion_1.default.factory, match: MatchesAssertion_1.default.factory, }); } exports.registerIn = registerIn;