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