Closed nehaleem closed 8 years ago
You need to make sure babelify is running before proxyquireify. Otherwise invalid JS gets passed along to something that isn't expecting it. This isn't a proxyquireify issue. You should manually configure karma-browserify instead of passing tranform and plugin arrays to guarantee order.
Issue: When using spread operator in tests, proxyquireify cannot parse these files.
Error:
Config: --karma.conf.js:
--.babelrc:
Versions:
Test file: