Skip to content
Snippets Groups Projects
Commit 78dda497 authored by Vik Paruchuri's avatar Vik Paruchuri
Browse files

Fix jasmine tests?

parent c5e80b95
No related branches found
Tags release-2018-02-14-11.33
No related merge requests found
......@@ -29,7 +29,6 @@ describe 'CombinedOpenEnded', ->
beforeEach =>
# setup the spies
@combined = new CombinedOpenEnded @element
spyOn(@combined, 'reload').andCallFake -> return 0
window.setTimeout = jasmine.createSpy().andCallFake (callback, timeout) -> return 5
it 'polls at the correct intervals', =>
......@@ -45,7 +44,6 @@ describe 'CombinedOpenEnded', ->
@combined.poll()
expect(window.queuePollerID).toBeUndefined()
expect(window.setTimeout).not.toHaveBeenCalled()
expect(@combined.reload).toHaveBeenCalled()
describe 'rebind', ->
beforeEach ->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment