forked from angular/zone.js
-
Notifications
You must be signed in to change notification settings - Fork 4
/
karma-dist-sauce-jasmine.es2015.conf.js
28 lines (27 loc) · 1.2 KB
/
karma-dist-sauce-jasmine.es2015.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
module.exports = function (config) {
require('./karma-dist-jasmine.conf.js')(config);
require('./sauce.es2015.conf')(config);
const files = config.files;
config.files = [];
for (let i = 0; i < files.length; i ++) {
if (files[i] !== 'node_modules/core-js-bundle/index.js' || files[i] === 'build/test/main.js') {
config.files.push(files[i]);
}
}
config.files.push('build/test/wtf_mock.js');
config.files.push('build/test/test_fake_polyfill.js');
config.files.push('build/test/custom_error.js');
config.files.push({pattern: 'dist/zone-evergreen.js', type: 'module'});
config.files.push('dist/zone-patch-canvas.js');
config.files.push('dist/zone-patch-fetch.js');
config.files.push('dist/webapis-media-query.js');
config.files.push('dist/webapis-notification.js');
config.files.push('dist/zone-patch-user-media.js');
config.files.push('dist/zone-patch-resize-observer.js');
config.files.push('dist/task-tracking.js');
config.files.push('dist/wtf.js');
config.files.push('dist/zone-testing.js');
config.files.push('build/test/test-env-setup-jasmine.js');
config.files.push('build/lib/common/error-rewrite.js');
config.files.push('build/test/browser/custom-element.spec.js');
};