@types/chai-jest-snapshot
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -12,8 +12,3 @@ // Type definitions for chai-jest-snapshot 1.3 | ||
interface Assertion { | ||
/** | ||
* Assert that the object matches the snapshot | ||
* @param snapshotFilename | ||
* @param snapshotName | ||
* @param update | ||
*/ | ||
/** Assert that the object matches the snapshot */ | ||
matchSnapshot(snapshotFilename?: string, snapshotName?: string, update?: boolean): Assertion; | ||
@@ -26,13 +21,6 @@ matchSnapshot(update: boolean): Assertion; | ||
interface ChaiJestSnapshot { | ||
/** | ||
* Chai bootstrapper | ||
* @param chai | ||
* @param utils | ||
*/ | ||
/** Chai bootstrapper */ | ||
(chai: any, utils: any): void; | ||
/** | ||
* Set snapshot file name | ||
* @param filename | ||
*/ | ||
/** Set snapshot file name */ | ||
setFileName(filename: string): void; | ||
@@ -42,21 +30,12 @@ | ||
* Set snapshot test name | ||
* @param testname | ||
*/ | ||
setTestName(testname: string): void; | ||
/** | ||
* Configure snapshot name using mocha context | ||
* @param context | ||
*/ | ||
/** Configure snapshot name using mocha context */ | ||
configureUsingMochaContext(context: Mocha.IBeforeAndAfterContext): void; | ||
/** | ||
* Reset snapshot registry | ||
*/ | ||
/** Reset snapshot registry */ | ||
resetSnapshotRegistry(): void; | ||
/** | ||
* Add a serializer plugin | ||
* @param serializer | ||
*/ | ||
/** Add a serializer plugin */ | ||
addSerializer(serializer: any): void; | ||
@@ -63,0 +42,0 @@ } |
{ | ||
"name": "@types/chai-jest-snapshot", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "TypeScript definitions for chai-jest-snapshot", | ||
@@ -9,3 +9,4 @@ "license": "MIT", | ||
"name": "Matt Perry", | ||
"url": "https://github.com/mattvperry" | ||
"url": "https://github.com/mattvperry", | ||
"githubUsername": "mattvperry" | ||
} | ||
@@ -23,4 +24,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "4e9935838558105da63839e4dea7dbf1b2aa06d948f4daf04f2bd5e62a796ec8", | ||
"typesPublisherContentHash": "e4d1895e0bbfaaa94eaeff3a52812c72003c4ce5a9fd328063604d5d479e11e8", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 28 Aug 2017 15:52:08 GMT | ||
* Last updated: Wed, 25 Oct 2017 00:19:45 GMT | ||
* Dependencies: chai, mocha | ||
@@ -14,0 +14,0 @@ * Global values: none |
Sorry, the diff of this file is not supported yet
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
3661
33