UNPKG

@averagehelper/corde

Version:

A simple library for Discord bot tests. (Republished fork to demonstrate a bugfix)

15 lines (14 loc) 350 B
/** * Represents a group of commands. * * @example * * test('Hello command should return... hello!!', () => { * expect('hello').toReturn('hello!!'); * }); * * @param name Name of the test * @param action Commands related to this test * @since 1.0 */ export declare function test(name: string, action: () => void | Promise<void>): void;