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.2.1 to 2.2.2

4

lib/MethodAction.js

@@ -10,3 +10,5 @@ "use strict";

MethodAction.prototype.isApplicable = function (methodName, matchers) {
if (this.methodName !== methodName) {
var methodNameMatch = this.methodName === methodName;
var argumentsCountMatch = this.args.length == matchers.length;
if (!methodNameMatch || !argumentsCountMatch) {
return false;

@@ -13,0 +15,0 @@ }

{
"name": "ts-mockito",
"version": "2.2.1",
"version": "2.2.2",
"description": "Mocking library for TypeScript",

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

@@ -72,3 +72,3 @@ # ts-mockito [![build badge](https://travis-ci.org/NagRock/ts-mockito.svg?branch=master)](https://travis-ci.org/NagRock/ts-mockito)

```
``` typescript
// Creating mock

@@ -75,0 +75,0 @@ let mockedFoo:Foo = mock(Foo);

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