@case-contract-testing/case
Version:
Next-generation contract testing suite
38 lines (37 loc) • 2.14 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MatcherExecutors = void 0;
const types_1 = require("../entities/types");
const leaf_1 = require("./leaf");
const meta_1 = require("./meta");
const structure_1 = require("./structure");
const strings_1 = require("./strings");
const http_1 = require("./http");
exports.MatcherExecutors = {
[]: leaf_1.NumberMatcher,
[]: leaf_1.StringMatcher,
[]: strings_1.StringContainsMatcher,
[]: strings_1.StringPrefixMatcher,
[]: strings_1.StringSuffixMatcher,
[]: leaf_1.BooleanMatcher,
[]: meta_1.CascadingContext,
[]: leaf_1.NullMatcher,
[]: structure_1.ShapedArrayExecutor,
[]: structure_1.ShapedObjectExecutor,
[]: http_1.HttpStatusCodeMatcher,
[]: structure_1.HttpResponseMatcher,
[]: structure_1.HttpRequestMatcher,
[]: meta_1.LookupMatcher,
[]: structure_1.ArrayLengthExecutor,
[]: meta_1.AndCombinationMatcher,
[]: structure_1.EachArrayEntryMatches,
[]: structure_1.ArrayContains,
[]: structure_1.ObjectEachValueMatches,
[]: leaf_1.IntegerMatcher,
[]: structure_1.ObjectEachKeyMatches,
[]: meta_1.ContextVariableMatcher,
[]: http_1.UrlEncodedStringMatcher,
[]: http_1.HttpBasicAuthMatcher,
[]: strings_1.JsonStringifiedString,
[]: strings_1.Base64EncodedStringMatcher,
};