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

a_mock

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a_mock - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "a_mock",
"version": "1.0.0",
"version": "1.0.1",
"main": "index.js",

@@ -5,0 +5,0 @@ "title": "a_mock",

@@ -23,2 +23,6 @@ function expectAnything(index,mockContext) {

c.expectAnything = function() {
return c;
}
c.return = function(arg) {

@@ -25,0 +29,0 @@ return _return(arg,index+1,mockContext);

@@ -62,2 +62,8 @@ var assert = require('assert');

test('expectAnything should return self',function() {
assert.equal(sut2, sut2.expectAnything());
});
(function() {

@@ -64,0 +70,0 @@ console.log('return');

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