UNPKG

620 BTypeScriptView Raw
1import { Assertion, JestFriendlyAssertion } from '../assertion';
2import { StackInspector } from '../inspector';
3/**
4 * An assertion to check whether a resource of a given type and with the given properties exists, disregarding properties
5 */
6export declare function countResources(resourceType: string, count?: number): JestFriendlyAssertion<StackInspector>;
7/**
8 * An assertion to check whether a resource of a given type and with the given properties exists, considering properties
9 */
10export declare function countResourcesLike(resourceType: string, count: number | undefined, props: any): Assertion<StackInspector>;