Additional properties on the module function.
Runs only this module, and any other only module or test: every other test is
skipped. Equivalent to QUnit.module.only, and to passing { only: true }.
Deno runs only these, and then fails the run on purpose, so that an only is
not committed by accident.
Skips all tests inside a module. Equivalent to QUnit.module.skip.
The module is registered as ignored by Deno's runner; no test bodies run.
Marks all tests inside a module as todo. Equivalent to QUnit.module.todo.
The module is registered as ignored by Deno's runner; no test bodies run.
Deno has no native "todo module" concept, so this maps to ignore.
Additional properties on the module function.
Runs only this module, and any other only module or test: every other test is
skipped. Equivalent to QUnit.module.only, and to passing { only: true }.
Deno runs only these, and then fails the run on purpose, so that an only is
not committed by accident.
Skips all tests inside a module. Equivalent to QUnit.module.skip.
The module is registered as ignored by Deno's runner; no test bodies run.
Marks all tests inside a module as todo. Equivalent to QUnit.module.todo.
The module is registered as ignored by Deno's runner; no test bodies run.
Deno has no native "todo module" concept, so this maps to ignore.
Additional properties on the module function.
Runs only this module, and any other only module or test: every other test is
skipped. Equivalent to QUnit.module.only, and to passing { only: true }.
Deno runs only these, and then fails the run on purpose, so that an only is
not committed by accident.
Skips all tests inside a module. Equivalent to QUnit.module.skip.
The module is registered as ignored by Deno's runner; no test bodies run.
Marks all tests inside a module as todo. Equivalent to QUnit.module.todo.
The module is registered as ignored by Deno's runner; no test bodies run.
Deno has no native "todo module" concept, so this maps to ignore.
module(moduleName: string,moduleContent: (hooks: HooksObject<Assert>,meta: { moduleName: string; options: unknown; context: Record<string, unknown>; }) => void): void
Defines a test module (suite) for Deno's BDD test runner.
Wraps describe() from @std/testing/bdd and sets up the QUnit lifecycle
(before/beforeEach/afterEach/after hooks, assertion counting, steps tracking).
moduleContent: (hooks: HooksObject<Assert>,meta: { moduleName: string; options: unknown; context: Record<string, unknown>; }) => void
Callback that defines tests and hooks via hooks.before,
hooks.beforeEach, hooks.afterEach, hooks.after
module(moduleName: string,runtimeOptions: object,moduleContent: (hooks: HooksObject<Assert>,meta: { moduleName: string; options: unknown; context: Record<string, unknown>; }) => void): void
Defines a test module (suite) with optional Deno BDD runtime options forwarded to describe().
moduleContent: (hooks: HooksObject<Assert>,meta: { moduleName: string; options: unknown; context: Record<string, unknown>; }) => void