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

std/testing/bdd.ts>it

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface it
import { type it } from "https://deno.land/std@0.196.0/testing/bdd.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.

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

Registers an individual test case with ignore set to true. Alias of .ignore().

function it
import { it } from "https://deno.land/std@0.196.0/testing/bdd.ts";

Registers an individual test case.