Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/chai-jest-snapshot

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.3.0 to 1.3.1

33

chai-jest-snapshot/index.d.ts

@@ -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 @@ }

7

chai-jest-snapshot/package.json
{
"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

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