Additional properties on the describe function.
f
describe.onlyModule(): void
moduleName: string,
runtimeOptionsOrContent: object | ModuleContent,
moduleContent?: ModuleContent
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.
f
describe.skipModule(): void
moduleName: string,
_moduleContent?: unknown
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.
f
describe.todoModule(): void
moduleName: string,
_moduleContent?: unknown
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.