Add functionality for inspecting arbitrary past calls
This made it much easier to debug multiple calls while developing this patch.
This commit is contained in:
parent
89d833e909
commit
f844cc8134
3 changed files with 10 additions and 3 deletions
|
|
@ -111,6 +111,7 @@ o.spec("call()", function() {
|
|||
|
||||
o(spy.callCount).equals(1)
|
||||
o(spy.args[0]).equals(1)
|
||||
o(spy.calls[0]).deepEquals([1])
|
||||
})
|
||||
})
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue