Skip to content

Nullish coalescing operator (??) in dist in 8.18.0 #1169

Closed
@leroydev

Description

@leroydev

@testing-library/[email protected] has a nullish coalescing operator in the distributed build in the file dist/@testing-library/dom.esm.js.
This results in only Node.js 14 and up being able to execute this code and in errors in Cypress 9.1.0:
image

Check here, 8.17.1, lines 409 to 413: https://unpkg.com/browse/@testing-library/[email protected]/dist/@testing-library/dom.esm.js

And in 8.18.0, lines 428 to 430: https://unpkg.com/browse/@testing-library/[email protected]/dist/@testing-library/dom.esm.js

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions