Open
Description
The generated test import files use an async import like so:
import("../../src/myfile.mjs").catch(e => {
if (e.code !== "ERR_MODULE_NOT_FOUND") reject(e)
});
but that breaks rescript-test
, it will always find 0 tests because the import hasn't resolved yet when it tries to run them
changing it to a synchronous import makes it work correctly
import "../../src/myfile.mjs"
Metadata
Metadata
Assignees
Labels
No labels