You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
letloader=require("@std/esm")(module,{cjs: true,esm: "js"});constRenderStreamFactory=loader("./RenderStreamFactory.js").default;letrenderStreamFactory=newRenderStreamFactory();test('adds 1 + 2 to equal 3',()=>{expect(renderStreamFactory).toBeNull();});
When im invoking jest vom the CLI I get
FAIL src/RenderStreamFactory.test.js
● Test suite failed to run
TypeError: Path must be a string. Received undefined
at assertPath (path.js:28:11)
at Object.relative (path.js:1268:5)
If I'm using the loader config in another context without Jest it works fine.
Using version 0.11.3 of @std/ESM
Thanks for your help
The text was updated successfully, but these errors were encountered:
My test file
When im invoking jest vom the CLI I get
If I'm using the loader config in another context without Jest it works fine.
Using version 0.11.3 of @std/ESM
Thanks for your help
The text was updated successfully, but these errors were encountered: