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

x/deno_nest/tests/mod.ts>it

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
interface it
import { type it } from "https://deno.land/x/deno_nest@v3.6.0/tests/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.

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/x/deno_nest@v3.6.0/tests/mod.ts";

Registers an individual test case.

Parameters

...args: ItArgs<T>