@types/jest-specific-snapshot
Advanced tools
Comparing version 0.5.5 to 0.5.6
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4808
1
48