fix(karma): corrected race condition with RX loading

RX was loaded twice. Once by karma and once by system.js This 
seemed to create a race condition and Rx.Subject was not available. 
Serving but not loading seems to fix the issue.
This commit is contained in:
Misko Hevery 2015-08-18 21:22:50 -07:00
parent 72e0b8f7dc
commit 8dc509f688
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ module.exports = function(config) {
'node_modules/es6-module-loader/dist/es6-module-loader-sans-promises.src.js', 'node_modules/es6-module-loader/dist/es6-module-loader-sans-promises.src.js',
// Including systemjs because it defines `__eval`, which produces correct stack traces. // Including systemjs because it defines `__eval`, which produces correct stack traces.
'node_modules/systemjs/dist/system.src.js', 'node_modules/systemjs/dist/system.src.js',
'node_modules/rx/dist/rx.js', {pattern: 'node_modules/rx/dist/rx.js', included: false, watched: false, served: true},
'node_modules/reflect-metadata/Reflect.js', 'node_modules/reflect-metadata/Reflect.js',
'tools/build/file2modulename.js', 'tools/build/file2modulename.js',
'test-main.js', 'test-main.js',