2014-09-25 17:04:46 -04:00
|
|
|
// Karma configuration
|
|
|
|
// Generated on Thu Sep 25 2014 11:52:02 GMT-0700 (PDT)
|
2014-12-05 19:26:30 -05:00
|
|
|
var file2moduleName = require('./tools/build/file2modulename');
|
2014-09-25 17:04:46 -04:00
|
|
|
|
|
|
|
module.exports = function(config) {
|
|
|
|
config.set({
|
|
|
|
|
|
|
|
frameworks: ['jasmine'],
|
|
|
|
|
|
|
|
files: [
|
2014-10-06 20:35:00 -04:00
|
|
|
// Sources and specs.
|
|
|
|
// Loaded through the es6-module-loader, in `test-main.js`.
|
2015-04-27 19:11:20 -04:00
|
|
|
{pattern: 'dist/js/dev/es5/**', included: false, watched: false},
|
2014-10-06 20:35:00 -04:00
|
|
|
|
2014-09-25 17:04:46 -04:00
|
|
|
'node_modules/traceur/bin/traceur-runtime.js',
|
2014-10-06 20:35:00 -04:00
|
|
|
'node_modules/es6-module-loader/dist/es6-module-loader-sans-promises.src.js',
|
2014-10-30 13:52:32 -04:00
|
|
|
// Including systemjs because it defines `__eval`, which produces correct stack traces.
|
|
|
|
'node_modules/systemjs/dist/system.src.js',
|
2014-10-06 20:35:00 -04:00
|
|
|
'node_modules/systemjs/lib/extension-register.js',
|
2015-03-24 16:45:39 -04:00
|
|
|
'node_modules/systemjs/lib/extension-cjs.js',
|
|
|
|
'node_modules/rx/dist/rx.all.js',
|
2015-04-28 21:17:00 -04:00
|
|
|
'node_modules/reflect-metadata/Reflect.js',
|
2014-12-05 21:30:45 -05:00
|
|
|
'node_modules/zone.js/zone.js',
|
2014-12-11 14:36:05 -05:00
|
|
|
'node_modules/zone.js/long-stack-trace-zone.js',
|
2014-10-06 20:35:00 -04:00
|
|
|
|
2014-12-05 19:26:30 -05:00
|
|
|
'tools/build/file2modulename.js',
|
2014-09-25 17:04:46 -04:00
|
|
|
'test-main.js'
|
|
|
|
],
|
|
|
|
|
2015-01-08 13:02:23 -05:00
|
|
|
exclude: [
|
2015-04-27 19:11:20 -04:00
|
|
|
'dist/js/dev/es5/**/e2e_test/**',
|
2015-01-08 13:02:23 -05:00
|
|
|
],
|
|
|
|
|
2014-09-29 17:20:23 -04:00
|
|
|
customLaunchers: {
|
|
|
|
DartiumWithWebPlatform: {
|
|
|
|
base: 'Dartium',
|
2015-04-15 01:14:03 -04:00
|
|
|
flags: ['--enable-experimental-web-platform-features'] },
|
|
|
|
ChromeNoSandbox: {
|
|
|
|
base: 'Chrome',
|
|
|
|
flags: ['--no-sandbox'] }
|
2014-09-29 17:20:23 -04:00
|
|
|
},
|
2014-10-02 16:38:12 -04:00
|
|
|
browsers: ['ChromeCanary'],
|
2014-10-09 16:50:25 -04:00
|
|
|
|
|
|
|
port: 9876
|
2014-09-25 17:04:46 -04:00
|
|
|
});
|
|
|
|
};
|