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