🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

jest-file-snapshot

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-file-snapshot - npm Package Compare versions

Comparing version

to
0.3.3

30

index.d.ts

@@ -5,14 +5,28 @@ /// <reference types="jest" />

declare type FileMatcherOptions = {
diff: DiffOptions
declare module 'jest-file-snapshot' {
export const toMatchFile: jest.CustomMatcher;
}
declare namespace jest {
interface Matchers<R> {
toMatchFile: (output: string, filename?: string, options?: FileMatcherOptions) => void
}
declare interface FileMatcherOptions {
diff: DiffOptions;
}
interface Expect {
toMatchFile: (output: string, filename?: string, options?: FileMatcherOptions) => void
declare global {
namespace jest {
interface Matchers<R> {
toMatchFile: (
output: string,
filename?: string,
options?: FileMatcherOptions
) => void;
}
interface Expect {
toMatchFile: (
output: string,
filename?: string,
options?: FileMatcherOptions
) => void;
}
}
}
{
"name": "jest-file-snapshot",
"version": "0.3.2",
"version": "0.3.3",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [