mirror of
https://github.com/onkelbeh/cheatsheets.git
synced 2026-08-15 13:34:53 +02:00
jasmine: fix copypasta
This commit is contained in:
@@ -61,8 +61,8 @@ layout: default
|
||||
stub = jasmine.createSpy('stub')
|
||||
stub("hello")
|
||||
|
||||
expect(whatAmI.identity).toEqual("stub")
|
||||
expect(whatAmI).toHaveBeenCalled()
|
||||
expect(stub.identity).toEqual("stub")
|
||||
expect(stub).toHaveBeenCalled()
|
||||
|
||||
### Async
|
||||
|
||||
|
||||
Reference in New Issue
Block a user