These are chat archives for systemjs/systemjs

May 2015
May 26 2015 09:07
This message was deleted
May 26 2015 20:21

So I'm trying to write unit tests and only want to test the functionality of a single module but that module has dependencies. It's looking like my options are to:

  1. Use System.register to stub/mock out dependencies. Something like rewire. (Is there going to be a similar story for ES6 or is the register syntax something that only System.js provides?)
  2. Using another sort of dependency injection system. (Seems slightly redundant but looks like what Angular2 is doing.)

What are your opinions?