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
This commit is contained in:
Alasdair Smith
2018-04-04 13:19:21 +01:00
parent b417516c7f
commit 1d6dd06b88
+1
View File
@@ -18,6 +18,7 @@ module.exports = function (config) {
'public/js/libs/angular-1.6.4.min.js',
'public/js/libs/angular-mocks.js',
'public/js/libs/jquery-1.11.1.min.js',
'public/js/libs/underscore-1.3.3.js',
// Set up requirejs
'test/unit_frontend/js/test-main.js',
// Include source & test files, but don't "include" them as requirejs