Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 0.3.2 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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc