Don't load old vendor files during jsunit tests

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/13156/head
Christoph Wurst 6 years ago committed by Julius Härtl
parent b3b41413f8
commit 01a6181d9f
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -148,7 +148,6 @@ 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 = [];
@ -162,16 +161,11 @@ module.exports = function(config) {
testCore = true;
}
files.push('core/js/dist/main.js');
// core mocks
files.push(corePath + 'tests/specHelper.js');
var srcFile, i;
// add vendor library files
for (i = 0; i < coreModule.vendor.length; i++) {
srcFile = vendorPath + coreModule.vendor[i];
files.push(srcFile);
}
// add core library files
for (i = 0; i < coreModule.libraries.length; i++) {
srcFile = corePath + coreModule.libraries[i];

Loading…
Cancel
Save