UNPKG

earljs

Version:

Ergonomic, modern and type-safe assertion library

17 lines (16 loc) 396 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AnythingMatcher = void 0; const Base_1 = require("./Base"); class AnythingMatcher extends Base_1.Matcher { check(_v) { return true; } toString() { return `[Anything]`; } static make() { return new AnythingMatcher(); } } exports.AnythingMatcher = AnythingMatcher;