UNPKG

eslint-plugin-mocha

Version:

Eslint rules for mocha.

20 lines 1.08 kB
declare const mochaInterfaces: readonly ["BDD", "TDD", "require"]; export type MochaInterface = (typeof mochaInterfaces)[number]; export declare function isMochaInterface(value: unknown): value is MochaInterface; export declare const configCallNames: readonly ["timeout", "slow", "retries"]; export type MochaConfigCall = (typeof configCallNames)[number]; export type MochaEntityType = 'config' | 'hook' | 'suite' | 'testCase'; declare const customNameTypes: readonly ["hook", "suite", "testCase"]; export type CustomMochaEntityType = (typeof customNameTypes)[number]; export declare function isCustomMochaEntityType(value: unknown): value is CustomMochaEntityType; export type MochaModifier = 'exclusive' | 'pending'; export type NameDetailsConfig = { readonly path: readonly string[]; readonly interface: MochaInterface; readonly type: MochaEntityType; readonly modifier: MochaModifier | null; readonly config: MochaConfigCall | null; }; export declare const builtinNames: readonly NameDetailsConfig[]; export {}; //# sourceMappingURL=descriptors.d.ts.map