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

ts-mockito

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-mockito - npm Package Compare versions

Comparing version 2.4.1 to 2.4.2

3

lib/ts-mockito.d.ts

@@ -5,2 +5,5 @@ import { ArgCaptor1, ArgCaptor10, ArgCaptor2, ArgCaptor3, ArgCaptor4, ArgCaptor5, ArgCaptor6, ArgCaptor7, ArgCaptor8, ArgCaptor9 } from "./capture/ArgCaptor";

export declare function spy<T>(instanceToSpy: T): T;
export declare function mock<T>(clazz: (new (...args: any[]) => T) | (Function & {
prototype: T;
})): T;
export declare function mock<T>(clazz?: any): T;

@@ -7,0 +10,0 @@ export declare function verify<T>(method: T): MethodStubVerificator<T>;

2

package.json
{
"name": "ts-mockito",
"version": "2.4.1",
"version": "2.4.2",
"description": "Mocking library for TypeScript",

@@ -5,0 +5,0 @@ "main": "lib/ts-mockito.js",

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