UNPKG

@contract-case/case-core

Version:

Core functionality for the ContractCase contract testing suite

12 lines 700 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CascadingContext = void 0; const check = (matcher, matchContext, actual) => matchContext.descendAndCheck(matcher['_case:matcher:child'], matchContext, actual); const strip = (matcher, matchContext) => matchContext.descendAndStrip(matcher['_case:matcher:child'], matchContext); exports.CascadingContext = { describe: (matcher, matchContext) => matchContext.descendAndDescribe(matcher['_case:matcher:child'], matchContext), check, strip, validate: (matcher, matchContext) => matchContext.descendAndValidate(matcher['_case:matcher:child'], matchContext), }; //# sourceMappingURL=CascadingContext.js.map