summaryrefslogtreecommitdiffstats
path: root/tests/karma.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/karma.config.js')
-rw-r--r--tests/karma.config.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/karma.config.js b/tests/karma.config.js
index 357fcf3f122..f67fa9977c2 100644
--- a/tests/karma.config.js
+++ b/tests/karma.config.js
@@ -99,6 +99,7 @@ module.exports = function(config) {
// note that the loading order is important that's why they
// are specified in a separate file
var corePath = 'core/js/';
+ var vendorPath = 'core/vendor/';
var coreModule = require('../' + corePath + 'core.json');
var testCore = false;
var files = [];
@@ -134,6 +135,12 @@ module.exports = function(config) {
}
}
+ // add vendor library files
+ for ( i = 0; i < coreModule.vendor.length; i++ ) {
+ srcFile = vendorPath + coreModule.vendor[i];
+ files.push(srcFile);
+ }
+
// TODO: settings pages
// need to test the core app as well ?