Skip to content

Commit

Permalink
fix(karma): corrected race condition with RX loading
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mhevery committed Aug 19, 2015
1 parent 72e0b8f commit 8dc509f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karma-js.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = function(config) {
'node_modules/es6-module-loader/dist/es6-module-loader-sans-promises.src.js',
// Including systemjs because it defines `__eval`, which produces correct stack traces.
'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',
'tools/build/file2modulename.js',
'test-main.js',
Expand Down

0 comments on commit 8dc509f

Please sign in to comment.