-
Notifications
You must be signed in to change notification settings - Fork 468
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is neededneeds investigation
Description
Reproduction:
- Clone https://github.com/cypress-io/cypress-example-kitchensink
yarn add @testing-library/cypress
yarn cypress open
- Try to run a test, it will give that error.
Problem description:
It seems Cypress doesn't like the syntax output by babel for that helpers.js
file.
Suggested solution:
Code is on the left, compiled on the right. I don't totally understand what's causing this issue, but if we name the function setImmediateFn
instead the error does not occur.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is neededneeds investigation