Socket
Socket
Sign inDemoInstall

@ethanresnick/chai-jest-snapshot

Package Overview
Dependencies
166
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

12

index.d.ts

@@ -8,1 +8,13 @@ declare namespace Chai {

}
export = chaiJestSnapshot;
/*~ This example shows how to have multiple overloads for your function */
declare function chaiJestSnapshot(chai: any, utils: any): void;
declare namespace chaiJestSnapshot {
export function setFileName(fileName: string): void;
export function setTestName(testName: string): void;
export function resetSnapshotRegistry(): void;
export function configureUsingMochaContext(ctx: Mocha.Context): void;
}

4

package.json
{
"name": "@ethanresnick/chai-jest-snapshot",
"version": "2.1.0",
"version": "2.1.1",
"description": "Chai assertion that provides Jest's snapshot testing",

@@ -45,2 +45,4 @@ "main": "dist/index.js",

"dependencies": {
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.5",
"jest-snapshot": "^23.6.0",

@@ -47,0 +49,0 @@ "jsonpath": "^1.0.0",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc