rolaveric / karma-systemjs

Karma plugin for using SystemJS as a module loader
MIT License
40 stars 19 forks source link

ignores path config #68

Closed frankandrobot closed 8 years ago

frankandrobot commented 8 years ago

The following paths object works just fine outside of karma.conf:

  paths: {
    "Core/*": "dist/amd/Core/*",
    "github:*": "jspm_packages/github/*",
    "npm:*": "jspm_packages/npm/*",
    'Core/core/Log': 'dist/amd/test/unit/helper/doubles/FakeLog.js',
  },

However, inside of the karma.conf, it does not work. "Core/core/Log" does not map to the FakeLog. No errors reported.

frankandrobot commented 8 years ago

Nevermind. I was using relative paths in the code (which systemjs does not support either) It works fine with absolute paths.