function module.todoModule
todoModule(
moduleName: string,
_moduleContent?: unknown
): void

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.

Examples

Example 1

import { module, test } from "qunitx";

module.todo("Math — not yet implemented", () => {
  test("addition", (assert) => {
    assert.equal(1 + 1, 2);
  });
});

Parameters

moduleName: string

Name of the module to mark as todo.

optional
_moduleContent: unknown

Optional body (ignored — no tests run).

Return Type

void

Usage

import { module } from ".";