-
-
Notifications
You must be signed in to change notification settings - Fork 98
Closed
Description
Uvu makes it painless to test ESM modules without the -r esm.
However, the svelte example still suggests using -r esm and -r tests/setup/register.js
.
Whe I try to use it I get the error below
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module
require() of ES modules is not supported.
Is there a way that svelte testing can be done without the require
?
Metadata
Metadata
Assignees
Labels
No labels