From b140b61743375abf133f5baf7941dc0a8eb3cfa1 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Wed, 29 Oct 2014 18:11:03 +0800 Subject: [PATCH] Sinon. --- sinon.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/sinon.md b/sinon.md index 2f49519cd..4f1f1cbfc 100644 --- a/sinon.md +++ b/sinon.md @@ -1,4 +1,6 @@ +--- title: Sinon +layout: default --- ### Spy @@ -59,15 +61,19 @@ title: Sinon ### - .args + .args //=> [ [..], [..] ] one per call .thisValues .returnValues - .getCalls - - .called + .called //=> true .notCalled .callCount .calledOnce .calledTwice - .callThrice + .calledThrice + + .getCalls() //=> Array + .getCall(0) + .firstCall + +