summaryrefslogtreecommitdiffstats
path: root/js/tests/unit/controller/AppControllerSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tests/unit/controller/AppControllerSpec.js')
-rw-r--r--js/tests/unit/controller/AppControllerSpec.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/tests/unit/controller/AppControllerSpec.js b/js/tests/unit/controller/AppControllerSpec.js
index fc5780a40..772fdc565 100644
--- a/js/tests/unit/controller/AppControllerSpec.js
+++ b/js/tests/unit/controller/AppControllerSpec.js
@@ -12,7 +12,9 @@ describe('AppController', () => {
let controller;
- beforeEach(module('News'));
+ beforeEach(module('News', ($provide) => {
+ $provide.value('BASE_URL', 'base');
+ }));
beforeEach(inject(($controller) => {
controller = $controller('AppController');