1.0.4 • Published 7 months ago
@types/chai-snapshot-matcher v1.0.4
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
// Type definitions for chai-snapshot-matcher 1.0
// Project: https://github.com/tlameiras/chai-snapshot#readme
// Definitions by: tpluscode <https://github.com/tpluscode>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
/// <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: Thu, 08 Jul 2021 09:07:11 GMT
- Dependencies: @types/mocha, @types/chai
- Global values: none
Credits
These definitions were written by tpluscode.