Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
rewire doesn't work with babel #55
I've just finished porting all of my React.js code to ES6 and found that my tests have broken due to Rewire (seemingly) not supporting the new syntax.
However, when importing using
Any assistance would be appreciated!
changed the title from
Rewire throws error when using ES6 Classes
Rewire throws error when using ES6 imports
Apr 17, 2015
I can't see how this could be fixed by my side. As @sairion pointed out, babel is changing variable names. Thus all uses of
I hope babel will do something about it. Although