@averagehelper/corde
Version:
A simple library for Discord bot tests. (Republished fork to demonstrate a bugfix)
12 lines (11 loc) • 390 B
TypeScript
/**
* Declare a bunch of code that will be executed **after each** test.
*
* More than one declaration of this code results in a list
* of functions to run, following a sequence of files
* reads and the positions of each `afterEach` call.
*
* @param fn code that will be executed **after each** tests finish
* @since 2.0
*/
export declare function afterEach(fn: () => void): void;