Installation
npm install --save @types/chai-snapshot-matcher
Summary
This package contains type definitions for chai-snapshot-matcher (https://github.com/tlameiras/chai-snapshot#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-snapshot-matcher.
index.d.ts
/// <reference types="chai" />
import { Context } from "mocha";
declare global {
namespace Chai {
interface Assertion {
matchSnapshot(that: Context, hint?: string): void;
matchSpecificSnapshot(that: Context, options?: {
hint?: string | undefined;
name?: string | undefined;
folder?: string | undefined;
snapshotPath?: string | undefined;
}): void;
}
}
}
export {};
Additional Details
- Last updated: Mon, 06 Nov 2023 2205 GMT
- Dependencies: @types/chai, @types/mocha
Credits
These definitions were written by tpluscode.