Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

x/redis/vendor/https/deno.land/std/testing/bdd.ts>ItDefinition

πŸ¦• Redis client for Deno πŸ•
Very Popular
Go to Latest
interface ItDefinition
implements Omit<Deno.TestDefinition, "fn">
Re-export
import { type ItDefinition } from "https://deno.land/x/redis@v0.28.0/vendor/https/deno.land/std/testing/bdd.ts";

The options for creating an individual test case with the it function.

Properties

fn: (this: T, t: Deno.TestContext) => void | Promise<void>
optional
suite: TestSuite<T>

The describe function returns a TestSuite representing the group of tests. If it is called within a describe calls fn, the suite will default to that parent describe calls returned TestSuite. If it is not called within a describe calls fn, the suite will default to the TestSuite representing the global group of tests.