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

x/deno_nest/tests/mod.ts>describe

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
interface describe
import { type describe } from "https://deno.land/x/deno_nest@v3.15.1/tests/mod.ts";

Registers a test suite.

Call Signatures

<T>(...args: DescribeArgs<T>): TestSuite<T>

Methods

only<T>(...args: DescribeArgs<T>): TestSuite<T>

Registers a test suite with only set to true.

ignore<T>(...args: DescribeArgs<T>): TestSuite<T>

Registers a test suite with ignore set to true.

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

Registers a test suite with ignore set to true. Alias of .ignore().

function describe
import { describe } from "https://deno.land/x/deno_nest@v3.15.1/tests/mod.ts";

Registers a test suite.

Parameters

...args: DescribeArgs<T>

Returns

TestSuite<T>