diff --git a/types/base.d.ts b/types/base.d.ts index 78884fbaf..a619b71c2 100644 --- a/types/base.d.ts +++ b/types/base.d.ts @@ -71,6 +71,10 @@ export interface AssertContext { * Assert that contents matches regex. */ regex(contents: string, regex: RegExp, message?: string): void; + /** + * Assert that contents matches a snapshot. + */ + snapshot(contents: any, message?: string): void; /** * Assert that contents does not match regex. */