Fixed jasmine-ajax setup/reset.
This commit is contained in:
parent
63a3aa9074
commit
2cbc33d66d
1 changed files with 2 additions and 1 deletions
|
@ -99,8 +99,9 @@ module.exports = class TestView extends CocoView
|
||||||
|
|
||||||
runTests: ->
|
runTests: ->
|
||||||
describe 'CodeCombat Client', =>
|
describe 'CodeCombat Client', =>
|
||||||
|
jasmine.Ajax.install()
|
||||||
beforeEach ->
|
beforeEach ->
|
||||||
jasmine.Ajax.install()
|
jasmine.Ajax.requests.reset()
|
||||||
# TODO get some setup and teardown prepped
|
# TODO get some setup and teardown prepped
|
||||||
require f for f in @specFiles # runs the tests
|
require f for f in @specFiles # runs the tests
|
||||||
|
|
||||||
|
|
Reference in a new issue