Comparing version 1.0.0 to 1.0.1
{ | ||
"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'); |
135268
4325