Skip to content

Commit 92f7e60

Browse files
noelkleinffMathy
authored andcommitted
failing example of received with optional param (#68)
* failing example of received with optional param * Update Transformations.ts
1 parent b4df9ec commit 92f7e60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/issues/59.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ test('issue 59 - Mock function with optional parameters', (t) => {
1313
echoer.maybeEcho().returns('baz')
1414

1515
t.is(echoer.maybeEcho('foo'), 'bar')
16+
echoer.received().maybeEcho('foo');
1617
t.is(echoer.maybeEcho(), 'baz')
1718
})

0 commit comments

Comments
 (0)