-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Lines 26 to 42 in 3d1841d
| function isStub(stub) { | |
| if (!stub) { | |
| return false; | |
| } | |
| if (method.proxy && method.proxy.isSinonProxy) { | |
| verifyIsStub(method.proxy); | |
| } else { | |
| if (typeof method !== "function") { | |
| assert.fail(method + " is not a function"); | |
| } | |
| if (typeof method.getCall !== "function") { | |
| assert.fail(method + " is not stubbed"); | |
| } | |
| } | |
| } |
Also, verifyIsStub function inside it is not defined
P.S.
Was introduced here
Metadata
Metadata
Assignees
Labels
No labels