Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/test_suite/describe.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/describe.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/describe.ts";

Registers an individual test case.