UNPKG

corde

Version:

A simple library for Discord bot tests

17 lines (16 loc) 537 B
import { VoidLikeFunction } from "../types"; /** * Create a group of tests. * * @param descriptionDefinition Resolvable description of the group. It is often a string, * but can be sync or async functions, numbers, booleans... Functions will be executed to get the * primitive value of then. * * @param testDefinitions Function for Corde to invoke that will define inner suites a test * * @since 1.0 */ export declare const group: <T extends unknown>( definitionResolvable: T, testDefinitions: VoidLikeFunction, ) => void;