summaryrefslogtreecommitdiff
path: root/web-ui/package.json
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2016-06-29 18:55:48 -0300
committerTulio Casagrande <tcasagra@thoughtworks.com>2016-06-29 19:11:49 -0300
commit55b5d8f515d66c7aad2977666bb2191748786cf8 (patch)
tree71e388ddce7f0abf5f1793c73a2439df7f241411 /web-ui/package.json
parent98c8b8da628ca69132eeae2a3fb62d388135f6d6 (diff)
Add jasmine-ajax to mock ajax calls on tests
We had some tests trying to hit the backend. Considering these are unit tests, we decided to mock all ajax calls. This removes the warnings we had when running js tests.
Diffstat (limited to 'web-ui/package.json')
-rw-r--r--web-ui/package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/web-ui/package.json b/web-ui/package.json
index e1c478ee..b9c8e02c 100644
--- a/web-ui/package.json
+++ b/web-ui/package.json
@@ -14,6 +14,7 @@
"karma-chrome-launcher": "0.2.2",
"karma-firefox-launcher": "0.1.7",
"karma-jasmine": "0.2.2",
+ "karma-jasmine-ajax": "0.1.13",
"karma-junit-reporter": "0.2.2",
"karma-phantomjs-launcher": "1.0.0",
"karma-requirejs": "1.0.0",