2014-09-25 17:04:46 -04: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 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
|
|
|
|
2015-05-12 03:47:17 -04: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-04-10 06:42:33 -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',
|
2015-04-27 19:11:20 -04:00
|
|
|
'node_modules/rx/dist/rx.js',
|
2015-04-28 21:17:00 -04:00
|
|
|
'node_modules/reflect-metadata/Reflect.js',
|
2014-12-05 19:26:30 -05:00
|
|
|
'tools/build/file2modulename.js',
|
2015-05-19 13:27:03 -04:00
|
|
|
'test-main.js',
|
2015-05-21 05:30:56 -04:00
|
|
|
{pattern: 'modules/**/test/**/static_assets/**', included: false, watched: false},
|
|
|
|
'modules/angular2/src/test_lib/shims_for_IE.es6'
|
2014-09-25 17:04:46 -04:00
|
|
|
],
|
|
|
|
|
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
|
|
|
});
|
|
|
|
};
|