# @types/chai-snapshot-matcher

> TypeScript definitions for chai-snapshot-matcher

Latest version **1.0.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/chai-snapshot-matcher
pnpm add @types/chai-snapshot-matcher
yarn add @types/chai-snapshot-matcher
bun add @types/chai-snapshot-matcher
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2023-11-07 |
| First published | 2020-09-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51439 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/chai-snapshot-matcher
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-snapshot-matcher
- npm.io page: https://npm.io/package/@types/chai-snapshot-matcher

## Dependencies (2)

- [@types/chai](https://npm.io/package/@types/chai.md) *
- [@types/mocha](https://npm.io/package/@types/mocha.md) *

## Recent versions

- 1.0.4 (latest) — 2023-11-07
- 1.0.2 (ts4.3) — 2023-09-04
- 1.0.1 (ts3.6) — 2021-07-08
- 1.0.0 (ts3.2) — 2020-09-24
- 1.0.3 — 2023-10-17

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-snapshot-matcher/index.d.ts)
````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 22:41:05 GMT
 * Dependencies: [@types/chai](https://npmjs.com/package/@types/chai), [@types/mocha](https://npmjs.com/package/@types/mocha)

# Credits
These definitions were written by [tpluscode](https://github.com/tpluscode).

---
_Source: https://npm.io/package/@types/chai-snapshot-matcher · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
