UNPKG

712 BTypeScriptView Raw
1import { Assertion } from '../assertion';
2import { StackInspector } from '../inspector';
3export declare enum MatchStyle {
4 /** Requires an exact match */
5 EXACT = "exactly",
6 /** Allows any change that does not cause a resource replacement */
7 NO_REPLACES = "no replaces",
8 /** Allows additions, but no updates */
9 SUPERSET = "superset"
10}
11export declare function exactlyMatchTemplate(template: {
12 [key: string]: any;
13}): Assertion<StackInspector>;
14export declare function beASupersetOfTemplate(template: {
15 [key: string]: any;
16}): Assertion<StackInspector>;
17export declare function matchTemplate(template: {
18 [key: string]: any;
19}, matchStyle?: MatchStyle): Assertion<StackInspector>;