UNPKG

corde

Version:

A simple library for Discord bot tests

16 lines (15 loc) 492 B
import { IConfigOptions, ITestFilePattern, ITestFile } from "../types"; export declare class Reader { /** * Read config file(*.json) from root of project * and validates it * @throws */ loadConfig(): IConfigOptions; getTestsFromFiles(filesPattern: ITestFilePattern): Promise<ITestFile[]>; private loadConfigFromConfigFilePath; private addTestsGroupmentToGroupIfExist; private addIsolatedTestFunctionsToGroupIfExists; } declare const reader: Reader; export { reader };