Преглед изворни кода

Serve underscore in karma tests

Because of the way that we're using underscore in the ES bundle (using the
global), we need to include underscore globally
Alasdair Smith пре 8 година
родитељ
комит
1d6dd06b88
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      services/web/karma.conf.js

+ 1 - 0
services/web/karma.conf.js

@@ -18,6 +18,7 @@ module.exports = function (config) {
       'public/js/libs/angular-1.6.4.min.js',
       'public/js/libs/angular-1.6.4.min.js',
       'public/js/libs/angular-mocks.js',
       'public/js/libs/angular-mocks.js',
       'public/js/libs/jquery-1.11.1.min.js',
       'public/js/libs/jquery-1.11.1.min.js',
+      'public/js/libs/underscore-1.3.3.js',
       // Set up requirejs
       // Set up requirejs
       'test/unit_frontend/js/test-main.js',
       'test/unit_frontend/js/test-main.js',
       // Include source & test files, but don't "include" them as requirejs
       // Include source & test files, but don't "include" them as requirejs