Skip to main content
Module

x/test_suite/mod.ts>it

An extension of Deno's built-in test runner to add setup/teardown hooks and make it easier to organize tests in a format similar to Jasmine, Jest, and Mocha.
Latest
interface it
import { type it } from "https://deno.land/x/test_suite@0.16.1/mod.ts";

Registers an individual test case.

Call Signatures

<T>(...args: ItArgs<T>): void

Methods

only<T>(...args: ItArgs<T>): void

Registers an individual test case with only set to true.

ignore<T>(...args: ItArgs<T>): void

Registers an individual test case with ignore set to true.

function it
Deprecated
Deprecated
import { it } from "https://deno.land/x/test_suite@0.16.1/mod.ts";

Registers an individual test case.