You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately there is no simple workaround because it's not a bug. rewire() is interfering with the require() mechanism which must be emulated when using browserify. I've pointed out the required steps.
I'm using karma-runner to run jasmine tests, with the setup below.
I'm getting this error when launching karma:
karma.conf.js: https://gist.github.com/phun-ky/8dbc66b211c718252e58
Rewire module from http://substantial.com/blog/2014/11/11/test-driven-react-how-to-manually-mock-components/ :
var rewireModule = function rewireModule(rewiredModule, varValues) {
var rewiredReverts = [];
Spec used:
Using these node modules:
NodeJS v0.12.0
The text was updated successfully, but these errors were encountered: