Run Deno-style tests (Deno.test, t.step) on Node.js without rewriting test files. v1.0.2 requires Node.js >=23.6.0 for its sync module hooks. Resolution uses @deno/loader to handle jsr:, @std/*, and import maps. Outputs results via node:test runner. Ideal for checking Node.js compatibility of Deno-first packages.
npm install deno-testNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates writing a Deno-style test and running it on Node.js via npx.
Upgrade Node.js to 23.6.0 or later.
Place import map in deno.json at project root.
Use jsr:@scope/pkg or add to import map in deno.json.
Always use async (t) => callback with await t.step().
No fix needed; be aware of discovery scope.
Polyfill missing Deno APIs separately or avoid them in tests.
Use --reporter flag of node:test if needed.
Upgrade to Node.js >= 23.6.0
Run file with npx deno-test [file] instead of node
Ensure deno.json exists at project root with correct 'imports'
Use await t.step() inside async (t) => {}