computmaxer / karma-jspm

Other
74 stars 52 forks source link

Add support for SystemJS map configuration #185

Closed dougludlow closed 7 years ago

dougludlow commented 7 years ago

Use case:

I want to be able to change the mapping for electron while testing. By extending karma-jspm to support the SystemJS config map object, I will be able to do the following:

karma.conf.js:

    ...

    jspm: {
      map: {
        'electron': '@empty'
      }
    },

    ...