Skip to content

Error parsing file (helpers.js) in Cypress. #315

@DylanVann

Description

@DylanVann

image

Reproduction:

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.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions