Socket
Socket
Sign inDemoInstall

@types/jest-specific-snapshot

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/jest-specific-snapshot - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6

2

jest-specific-snapshot/index.d.ts

@@ -5,3 +5,3 @@ // Type definitions for jest-specific-snapshot 0.5

// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.8
// Minimum TypeScript Version: 4.3

@@ -8,0 +8,0 @@ /// <reference types="jest" />

{
"name": "@types/jest-specific-snapshot",
"version": "0.5.5",
"version": "0.5.6",
"description": "TypeScript definitions for jest-specific-snapshot",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest-specific-snapshot",
"license": "MIT",

@@ -24,4 +25,4 @@ "contributors": [

},
"typesPublisherContentHash": "a33ce72164cb9d8a2c3f0709703d90f402c62057109f1ed6b93227618c318acf",
"typeScriptVersion": "3.8"
"typesPublisherContentHash": "dfcb36fa303a0ef0b35c7a2c8d8c4596dc3b35c32045f46154c6be2903a87649",
"typeScriptVersion": "4.3"
}

@@ -9,5 +9,36 @@ # Installation

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
// Type definitions for jest-specific-snapshot 0.5
// Project: https://github.com/igor-dv/jest-specific-snapshot#readme
// Definitions by: Janeene Beeforth <https://github.com/dawnmist>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 4.3
/// <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(data: any, snapshotFile: string, testName: string): () => { message(): string; pass: boolean; };
````
### Additional Details
* Last updated: Tue, 20 Oct 2020 07:15:45 GMT
* Last updated: Fri, 17 Jun 2022 12:01:40 GMT
* Dependencies: [@types/jest](https://npmjs.com/package/@types/jest)

@@ -14,0 +45,0 @@ * Global values: none

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