diff options
Diffstat (limited to 'web-ui/test')
-rw-r--r-- | web-ui/test/test-main.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/web-ui/test/test-main.js b/web-ui/test/test-main.js index cc7daaee..4396993f 100644 --- a/web-ui/test/test-main.js +++ b/web-ui/test/test-main.js @@ -4,6 +4,16 @@ var tests = Object.keys(window.__karma__.files).filter(function (file) { return (/\.spec\.js$/.test(file)); }); +beforeEach(function() { + 'use strict'; + jasmine.Ajax.install(); +}); + +afterEach(function() { + 'use strict'; + jasmine.Ajax.uninstall(); +}); + requirejs.config({ baseUrl: '/base', |