Closed
Description
@tcollinsworth AVA 4 works just fine with CJS. Being a Node.js test runner, for ESM support we rely on Node.js' standard behavior.
Originally posted by @novemberborn in #2293 (comment)
@novemberborn Upgrading ava from 3.15.0 to 4.0.1 with esm-wallaby shim for optional-chaining support throws:
SyntaxError: Cannot use import statement outside a module
Metadata
Metadata
Assignees
Labels
No labels