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.180.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.

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

Registers an individual test case.