mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
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: ->
|
||||
describe 'CodeCombat Client', =>
|
||||
jasmine.Ajax.install()
|
||||
beforeEach ->
|
||||
jasmine.Ajax.install()
|
||||
jasmine.Ajax.requests.reset()
|
||||
# TODO get some setup and teardown prepped
|
||||
require f for f in @specFiles # runs the tests
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue