deno
be0502bc - fix(ext/node): implement missing node:test APIs (#33764)

Commit
130 days ago
fix(ext/node): implement missing node:test APIs (#33764) Incremental improvements to the `node:test` polyfill, implementing several previously-stubbed APIs: - **`t.name`, `t.fullName`, `t.signal`** - were throwing `notImplemented`, now return the test name, full parent chain, and an `AbortSignal` - **`t.plan(count)`** - assertion planning with count verification at test completion - **Suite-level hooks** - `before()`/`after()`/`beforeEach()`/`afterEach()` now work inside `describe`/`suite` blocks - **`t.beforeEach()` / `t.afterEach()`** - per-subtest hooks on `TestContext`
Author
Parents
Loading