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

Registers a skipped test. Equivalent to QUnit.test.skip. The test body is never executed; the test is reported as ignored by Deno's runner.

Examples

Example 1

import { module, test } from "qunitx";

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

Parameters

testName: string

Name of the test to skip.

optional
_testContent: unknown

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

Return Type

void

Usage

import { test } from ".";