@averagehelper/corde
Version:
A simple library for Discord bot tests. (Republished fork to demonstrate a bugfix)
11 lines (10 loc) • 330 B
TypeScript
/**
* Declare a bunch of code that will be executed before each test begin
*
* They will be executed following a sequence of files
* reads and the positions of each `beforeEach` call.
*
* @param fn code that will be executed **before** tests start
* @since 2.0
*/
export declare function beforeEach(fn: () => void): void;