# @types/jest-specific-snapshot

> TypeScript definitions for jest-specific-snapshot

Latest version **0.5.10** (published 2026-02-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/jest-specific-snapshot
pnpm add @types/jest-specific-snapshot
yarn add @types/jest-specific-snapshot
bun add @types/jest-specific-snapshot
```

## Health

**Score 65/100 (B)** — status: stable.

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

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.5.10 |
| Published | 2026-02-04 |
| First published | 2018-04-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 0.5.10 (latest) — 2026-02-04
- 0.5.9 (ts4.5) — 2023-11-07
- 0.5.6 (ts4.3) — 2022-06-17
- 0.5.5 (ts3.8) — 2020-10-20
- 0.5.4 (ts3.1) — 2019-10-25
- 0.5.2 (ts3.0) — 2019-02-05
- 0.5.1 (ts2.8) — 2018-08-04
- 0.5.0 (ts2.6) — 2018-04-06
- 0.5.8 — 2023-10-18
- 0.5.7 — 2023-09-15
- 0.5.3 — 2019-02-23

## README

# Installation
> `npm install --save @types/jest-specific-snapshot`

# Summary
This package contains type definitions for jest-specific-snapshot (https://github.com/igor-dv/jest-specific-snapshot#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest-specific-snapshot.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest-specific-snapshot/index.d.ts)
````ts
/// <reference types="jest" />

declare global {
    namespace jest {
        interface Matchers<R, T> {
            toMatchSpecificSnapshot(snapshotFilename: string): R;
        }
    }
}

/**
 * Specify the serializer that should be used by toMatchSpecificSnapshot.
 * Note: toMatchSpecificSnapshot ignores the existing jest snapshot serializer settings. If you want to use a custom serializer,
 * you need to set it via this addSerializer function.
 */
export function addSerializer(serializer: any): void;

/**
 * This is used to create a customized version of toMatchSpecificSnapshot.
 */
export function toMatchSpecificSnapshot(
    this: jest.MatcherContext,
    data: any,
    snapshotFile: string,
    testName?: string,
): { message(): string; pass: boolean };

````

### Additional Details
 * Last updated: Wed, 04 Feb 2026 18:12:09 GMT
 * Dependencies: [@types/jest](https://npmjs.com/package/@types/jest)

# Credits
These definitions were written by [Janeene Beeforth](https://github.com/dawnmist).

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