I've been trying to get things running with Karma and I played with a few diff solutions. Kept running into weird errors in css-modules when trying to forego a baseURL entirely for compatibility w/ Karma. The best solution I've had is doing a conditional baseURL, which works, but is reset upon jspm install
Yeah. When I remove the baseURL I can have a working setup if I prefix a "/" onto my paths for github/npm, but then it causes Karma to choke when looking up dependnecies. We'll see if I can find a working combo
Oh, karma-jspm. I guess I should be talking over there. I think since I adopted both of the techs at the same time I use them interchangeably.
(obviously they aren't)
Anywho, my brain is beat from trying hundreds of things over the past few days. I'll try and do a better write-up of what issues I'm hitting tomorrow and post it on the karma-jspm github. It does look like some people have working setups, but I'm at a loss.
My entire app, loader config, index.html, app code all live in a project sub directory src/. Whereas node_modules/ does not live there but is a dir level higher up at the project root. My node_module deps and entire app are copied to a build/ dir at build time. I can't find a winning combination of baseURL