Docs (4.0.0)
function describe function

skip

Creates a new test scope that’s skipped (including all tests).

static

skip(name: string, f: (scope: TestScope) => void): void

Notes

  • The function argument won’t be called at all.
  • Skipped tests aren’t considered failures in the overall test results.

Parameters

  • name — The name of the test scope

Example

// this scope is skipped entirely:
describe("Not run", () => {
  test("Also not run", () => {
    // ...
  });
});

Related