Open renshawdev opened 4 years ago
Seems like an isolation issue. core-js
is a polyfill for a variety of standard methods, like array.concat(), apparently. It's supposed to support older browser that had not implemented new features.
I think it is related to Babel, its plugin @babel/preset-env
adds this polyfill (where needed). Maybe the compiler should add this as a peer dependency? Not sure why this is failing for this component and not for others.
@JoshK2 - do you have any insight about this?
@Tallyb , If I remember correctly, you're working on a new Jest compiler. If so, please keep this issue in mind.
Describe the bug
bit test passes locally but fails in the online component example
Steps to Reproduce
Expected Behavior
If it tests pass locally after following instructions, they should pass online.
Screenshots, exceptions and logs
Specifications