-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG-1: Jest Testing Failing on ES6 Imports #27
Comments
Update to someone who wants to pick this up: |
BLOCKS: |
UPDATE: |
UPDATE-2: Filed this in hopes of someone answering it: |
Bug Description
Jest fails when it sees an import on ES6 assets.
Steps To Reproduce The Bug
What Is The Expected Result?
Jest passes the test.
What Is The Actual Result?
Jest fails on
import ...
line (see screenshot below)Current upstream issue, but solution did not work for us:
https://stackoverflow.com/questions/55794280/jest-fails-with-unexpected-token-on-import-statement
Reasoning: jest uses node, and node doesn't understand ES6 imports
Current Strategy
[ ] Fix it now
[x] Fix it later
[ ] Ignore it
Additional Details/Screenshots
The text was updated successfully, but these errors were encountered: