function test.todoTest
todoTest(
testName: string,
_testContent?: unknown
): void

Registers a todo test. Equivalent to QUnit.test.todo. The test body is never executed; the test is reported as ignored by Deno's runner (Deno has no native todo concept).

Examples

Example 1

import { module, test } from "qunitx";

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

Parameters

testName: string

Name of the test to mark as todo.

optional
_testContent: unknown

Optional body (ignored — the test will not run).

Return Type

void

Usage

import { test } from ".";