UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

20 lines 733 B
import { RunExecutionAssertion } from '../../models/interface.js'; import { Assertions } from '../../schemas/test.schema.js'; export declare class AssertionEngine { assert(assertions: Assertions, contextId: string): Promise<[RunExecutionAssertion[], boolean]>; private resolveKey; private wrapKey; private resolveValue; /** * Helper method to check if a value is a wildcard result */ private isWildcardResult; /** * Performs assertions on each item in a wildcard result * If any assertion fails, the entire assertion fails */ private performWildcardAssertion; private resolveWildcardKey; private collectWildcardMatches; } //# sourceMappingURL=assertion.engine.d.ts.map