UNPKG

755 BTypeScriptView Raw
1import {
2 ExecutionModifierDecorator,
3 ExecutionOptionDecorator,
4 ParameterisedTestDecorator,
5 SuiteDecorator,
6 TestDecorator
7} from "@testdeck/core";
8
9export const context: unique symbol;
10export const suite: SuiteDecorator;
11export const test: TestDecorator;
12
13export const slow: ExecutionOptionDecorator;
14export const timeout: ExecutionOptionDecorator;
15export const retries: ExecutionOptionDecorator;
16export const pending: ExecutionModifierDecorator;
17export const only: ExecutionModifierDecorator;
18export const skip: ExecutionModifierDecorator;
19
20export const params: ParameterisedTestDecorator;
21
22declare global {
23 interface Function {
24 [context]: Mocha.Suite;
25 }
26 interface Object {
27 [context]: Mocha.Context
28 }
29}