@fluffy-spoon/substitute
Advanced tools
Comparing version 1.75.0 to 1.76.0
{ | ||
"name": "@fluffy-spoon/substitute", | ||
"version": "1.75.0", | ||
"version": "1.76.0", | ||
"description": "An NSubstitute port to TypeScript called substitute.js.", | ||
@@ -15,3 +15,3 @@ "main": "dist/src/Index.js", | ||
"@types/node": "latest", | ||
"ava": "^1.2.1", | ||
"ava": "^1.3.1", | ||
"ts-node": "^7.0.1", | ||
@@ -18,0 +18,0 @@ "typescript": "^3.3.3333" |
@@ -13,3 +13,3 @@ import test from 'ava'; | ||
test('issue 18: receive with arg', t => { | ||
const mockedCalculator = Substitute.for<CalculatorInterface>() | ||
const mockedCalculator = Substitute.for<CalculatorInterface>(); | ||
mockedCalculator.add(1, Arg.is(input => input === 2)).returns(4); | ||
@@ -16,0 +16,0 @@ |
Sorry, the diff of this file is not supported yet
172243
75
2332