1 | export interface Subscribable {
|
2 | subscribe(observer: {
|
3 | error(err: any): void;
|
4 | complete(): void;
|
5 | }): void;
|
6 | }
|
7 |
|
8 | export type Constructor = (new (...args: any[]) => any);
|
9 |
|
10 | /** Specify one or more expectations the thrown error must satisfy. */
|
11 | export type ThrowsExpectation = {
|
12 | /** The thrown error must have a code that equals the given string or number. */
|
13 | code?: string | number;
|
14 |
|
15 | /** The thrown error must be an instance of this constructor. */
|
16 | instanceOf?: Constructor;
|
17 |
|
18 | /** The thrown error must be strictly equal to this value. */
|
19 | is?: Error;
|
20 |
|
21 | /** The thrown error must have a message that equals the given string, or matches the regular expression. */
|
22 | message?: string | RegExp;
|
23 |
|
24 | /** The thrown error must have a name that equals the given string. */
|
25 | name?: string;
|
26 | };
|
27 |
|
28 | export type CommitDiscardOptions = {
|
29 | /**
|
30 | * Whether the logs should be included in those of the parent test.
|
31 | */
|
32 | retainLogs?: boolean;
|
33 | };
|
34 |
|
35 | /** Options that can be passed to the `t.snapshot()` assertion. */
|
36 | export type SnapshotOptions = {
|
37 | /** If provided and not an empty string, used to select the snapshot to compare the `expected` value against. */
|
38 | id?: string;
|
39 | };
|
40 |
|
41 | export interface Assertions {
|
42 | /** Assert that `actual` is [truthy](https:
|
43 | assert: AssertAssertion;
|
44 |
|
45 |
|
46 | deepEqual: DeepEqualAssertion;
|
47 |
|
48 |
|
49 | like: LikeAssertion;
|
50 |
|
51 |
|
52 | fail: FailAssertion;
|
53 |
|
54 |
|
55 | false: FalseAssertion;
|
56 |
|
57 |
|
58 | falsy: FalsyAssertion;
|
59 |
|
60 | |
61 |
|
62 |
|
63 |
|
64 | is: IsAssertion;
|
65 |
|
66 | |
67 |
|
68 |
|
69 |
|
70 | not: NotAssertion;
|
71 |
|
72 |
|
73 | notDeepEqual: NotDeepEqualAssertion;
|
74 |
|
75 |
|
76 | notRegex: NotRegexAssertion;
|
77 |
|
78 |
|
79 | notThrows: NotThrowsAssertion;
|
80 |
|
81 |
|
82 | notThrowsAsync: NotThrowsAsyncAssertion;
|
83 |
|
84 |
|
85 | pass: PassAssertion;
|
86 |
|
87 |
|
88 | regex: RegexAssertion;
|
89 |
|
90 | |
91 |
|
92 |
|
93 |
|
94 |
|
95 | snapshot: SnapshotAssertion;
|
96 |
|
97 | |
98 |
|
99 |
|
100 | throws: ThrowsAssertion;
|
101 |
|
102 | |
103 |
|
104 |
|
105 |
|
106 | throwsAsync: ThrowsAsyncAssertion;
|
107 |
|
108 |
|
109 | true: TrueAssertion;
|
110 |
|
111 |
|
112 | truthy: TruthyAssertion;
|
113 | }
|
114 |
|
115 | export interface AssertAssertion {
|
116 |
|
117 | (actual: any, message?: string): void;
|
118 |
|
119 |
|
120 | skip(actual: any, message?: string): void;
|
121 | }
|
122 |
|
123 | export interface DeepEqualAssertion {
|
124 |
|
125 | <ValueType = any>(actual: ValueType, expected: ValueType, message?: string): void;
|
126 |
|
127 |
|
128 | skip(actual: any, expected: any, message?: string): void;
|
129 | }
|
130 |
|
131 | export interface LikeAssertion {
|
132 |
|
133 | (value: any, selector: Record<string, any>, message?: string): void;
|
134 |
|
135 |
|
136 | skip(value: any, selector: any, message?: string): void;
|
137 | }
|
138 |
|
139 | export interface FailAssertion {
|
140 |
|
141 | (message?: string): void;
|
142 |
|
143 |
|
144 | skip(message?: string): void;
|
145 | }
|
146 |
|
147 | export interface FalseAssertion {
|
148 |
|
149 | (actual: any, message?: string): void;
|
150 |
|
151 |
|
152 | skip(actual: any, message?: string): void;
|
153 | }
|
154 |
|
155 | export interface FalsyAssertion {
|
156 |
|
157 | (actual: any, message?: string): void;
|
158 |
|
159 |
|
160 | skip(actual: any, message?: string): void;
|
161 | }
|
162 |
|
163 | export interface IsAssertion {
|
164 | |
165 |
|
166 |
|
167 |
|
168 | <ValueType = any>(actual: ValueType, expected: ValueType, message?: string): void;
|
169 |
|
170 |
|
171 | skip(actual: any, expected: any, message?: string): void;
|
172 | }
|
173 |
|
174 | export interface NotAssertion {
|
175 | |
176 |
|
177 |
|
178 |
|
179 | <ValueType = any>(actual: ValueType, expected: ValueType, message?: string): void;
|
180 |
|
181 |
|
182 | skip(actual: any, expected: any, message?: string): void;
|
183 | }
|
184 |
|
185 | export interface NotDeepEqualAssertion {
|
186 |
|
187 | <ValueType = any>(actual: ValueType, expected: ValueType, message?: string): void;
|
188 |
|
189 |
|
190 | skip(actual: any, expected: any, message?: string): void;
|
191 | }
|
192 |
|
193 | export interface NotRegexAssertion {
|
194 |
|
195 | (string: string, regex: RegExp, message?: string): void;
|
196 |
|
197 |
|
198 | skip(string: string, regex: RegExp, message?: string): void;
|
199 | }
|
200 |
|
201 | export interface NotThrowsAssertion {
|
202 |
|
203 | (fn: () => any, message?: string): void;
|
204 |
|
205 |
|
206 | skip(fn: () => any, message?: string): void;
|
207 | }
|
208 |
|
209 | export interface NotThrowsAsyncAssertion {
|
210 |
|
211 | (fn: () => PromiseLike<any>, message?: string): Promise<void>;
|
212 |
|
213 |
|
214 | (promise: PromiseLike<any>, message?: string): Promise<void>;
|
215 |
|
216 |
|
217 | skip(nonThrower: any, message?: string): void;
|
218 | }
|
219 |
|
220 | export interface PassAssertion {
|
221 |
|
222 | (message?: string): void;
|
223 |
|
224 |
|
225 | skip(message?: string): void;
|
226 | }
|
227 |
|
228 | export interface RegexAssertion {
|
229 |
|
230 | (string: string, regex: RegExp, message?: string): void;
|
231 |
|
232 |
|
233 | skip(string: string, regex: RegExp, message?: string): void;
|
234 | }
|
235 |
|
236 | export interface SnapshotAssertion {
|
237 | |
238 |
|
239 |
|
240 |
|
241 |
|
242 | (expected: any, message?: string): void;
|
243 |
|
244 | |
245 |
|
246 |
|
247 |
|
248 |
|
249 | (expected: any, options: SnapshotOptions, message?: string): void;
|
250 |
|
251 |
|
252 | skip(expected: any, message?: string): void;
|
253 |
|
254 |
|
255 | skip(expected: any, options: SnapshotOptions, message?: string): void;
|
256 | }
|
257 |
|
258 | export interface ThrowsAssertion {
|
259 | |
260 |
|
261 |
|
262 |
|
263 | <ThrownError extends Error>(fn: () => any, expectations?: ThrowsExpectation | null, message?: string): ThrownError;
|
264 |
|
265 |
|
266 | skip(fn: () => any, expectations?: any, message?: string): void;
|
267 | }
|
268 |
|
269 | export interface ThrowsAsyncAssertion {
|
270 | |
271 |
|
272 |
|
273 |
|
274 | <ThrownError extends Error>(fn: () => PromiseLike<any>, expectations?: null, message?: string): Promise<ThrownError>;
|
275 |
|
276 | |
277 |
|
278 |
|
279 |
|
280 | <ThrownError extends Error>(fn: () => PromiseLike<any>, expectations: ThrowsExpectation, message?: string): Promise<ThrownError>;
|
281 |
|
282 | |
283 |
|
284 |
|
285 |
|
286 | <ThrownError extends Error>(promise: PromiseLike<any>, expectations?: null, message?: string): Promise<ThrownError>;
|
287 |
|
288 | |
289 |
|
290 |
|
291 |
|
292 | <ThrownError extends Error>(promise: PromiseLike<any>, expectations: ThrowsExpectation, message?: string): Promise<ThrownError>;
|
293 |
|
294 |
|
295 | skip(thrower: any, expectations?: any, message?: string): void;
|
296 | }
|
297 |
|
298 | export interface TrueAssertion {
|
299 |
|
300 | (actual: any, message?: string): void;
|
301 |
|
302 |
|
303 | skip(actual: any, message?: string): void;
|
304 | }
|
305 |
|
306 | export interface TruthyAssertion {
|
307 |
|
308 | (actual: any, message?: string): void;
|
309 |
|
310 |
|
311 | skip(actual: any, message?: string): void;
|
312 | }
|
313 |
|
314 |
|
315 | export interface ExecutionContext<Context = unknown> extends Assertions {
|
316 |
|
317 | context: Context;
|
318 |
|
319 |
|
320 | readonly title: string;
|
321 |
|
322 |
|
323 | readonly passed: boolean;
|
324 |
|
325 | log: LogFn;
|
326 | plan: PlanFn;
|
327 | teardown: TeardownFn;
|
328 | timeout: TimeoutFn;
|
329 | try: TryFn<Context>;
|
330 | }
|
331 |
|
332 | export interface LogFn {
|
333 |
|
334 | (...values: any[]): void;
|
335 |
|
336 |
|
337 | skip(...values: any[]): void;
|
338 | }
|
339 |
|
340 | export interface PlanFn {
|
341 | |
342 |
|
343 |
|
344 |
|
345 | (count: number): void;
|
346 |
|
347 |
|
348 | skip(count: number): void;
|
349 | }
|
350 |
|
351 | export interface TimeoutFn {
|
352 | |
353 |
|
354 |
|
355 |
|
356 | (ms: number, message?: string): void;
|
357 | }
|
358 |
|
359 | export interface TeardownFn {
|
360 |
|
361 | (fn: () => void): void;
|
362 | }
|
363 |
|
364 | export interface TryFn<Context = unknown> {
|
365 | |
366 |
|
367 |
|
368 |
|
369 |
|
370 | <Args extends any[]>(title: string, fn: EitherMacro<Args, Context>, ...args: Args): Promise<TryResult>;
|
371 |
|
372 | |
373 |
|
374 |
|
375 |
|
376 |
|
377 | <Args extends any[]>(title: string, fn: [EitherMacro<Args, Context>, ...Array<EitherMacro<Args, Context>>], ...args: Args): Promise<TryResult[]>;
|
378 |
|
379 | |
380 |
|
381 |
|
382 |
|
383 | <Args extends any[]>(fn: EitherMacro<Args, Context>, ...args: Args): Promise<TryResult>;
|
384 |
|
385 | |
386 |
|
387 |
|
388 |
|
389 | <Args extends any[]>(fn: [EitherMacro<Args, Context>, ...Array<EitherMacro<Args, Context>>], ...args: Args): Promise<TryResult[]>;
|
390 | }
|
391 |
|
392 | export interface AssertionError extends Error {}
|
393 |
|
394 | export interface TryResult {
|
395 | |
396 |
|
397 |
|
398 | title: string;
|
399 |
|
400 | |
401 |
|
402 |
|
403 | passed: boolean;
|
404 |
|
405 | |
406 |
|
407 |
|
408 | errors: AssertionError[];
|
409 |
|
410 | |
411 |
|
412 |
|
413 | logs: string[];
|
414 |
|
415 | |
416 |
|
417 |
|
418 |
|
419 | commit(options?: CommitDiscardOptions): void;
|
420 |
|
421 | |
422 |
|
423 |
|
424 | discard(options?: CommitDiscardOptions): void;
|
425 | }
|
426 |
|
427 |
|
428 | export interface CbExecutionContext<Context = unknown> extends ExecutionContext<Context> {
|
429 | |
430 |
|
431 |
|
432 |
|
433 | end(error?: any): void;
|
434 | }
|
435 |
|
436 | export type ImplementationResult = PromiseLike<void> | Subscribable | void;
|
437 | export type Implementation<Context = unknown> = (t: ExecutionContext<Context>) => ImplementationResult;
|
438 | export type CbImplementation<Context = unknown> = (t: CbExecutionContext<Context>) => ImplementationResult;
|
439 |
|
440 |
|
441 | export type UntitledMacro<Args extends any[], Context = unknown> = (t: ExecutionContext<Context>, ...args: Args) => ImplementationResult;
|
442 |
|
443 |
|
444 | export type Macro<Args extends any[], Context = unknown> = UntitledMacro<Args, Context> & {
|
445 | |
446 |
|
447 |
|
448 |
|
449 | title?: (providedTitle: string | undefined, ...args: Args) => string;
|
450 | };
|
451 |
|
452 | export type EitherMacro<Args extends any[], Context> = Macro<Args, Context> | UntitledMacro<Args, Context>;
|
453 |
|
454 |
|
455 | export type OneOrMoreMacros<Args extends any[], Context> = EitherMacro<Args, Context> | [EitherMacro<Args, Context>, ...Array<EitherMacro<Args, Context>>];
|
456 |
|
457 |
|
458 | export type UntitledCbMacro<Args extends any[], Context = unknown> = (t: CbExecutionContext<Context>, ...args: Args) => ImplementationResult;
|
459 |
|
460 |
|
461 | export type CbMacro<Args extends any[], Context = unknown> = UntitledCbMacro<Args, Context> & {
|
462 | title?: (providedTitle: string | undefined, ...args: Args) => string;
|
463 | };
|
464 |
|
465 | export type EitherCbMacro<Args extends any[], Context> = CbMacro<Args, Context> | UntitledCbMacro<Args, Context>;
|
466 |
|
467 |
|
468 | export type OneOrMoreCbMacros<Args extends any[], Context> = EitherCbMacro<Args, Context> | [EitherCbMacro<Args, Context>, ...Array<EitherCbMacro<Args, Context>>];
|
469 |
|
470 | export interface TestInterface<Context = unknown> {
|
471 |
|
472 | (title: string, implementation: Implementation<Context>): void;
|
473 |
|
474 |
|
475 | <T extends any[]>(title: string, macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
476 |
|
477 |
|
478 | <T extends any[]>(macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
479 |
|
480 |
|
481 | after: AfterInterface<Context>;
|
482 |
|
483 |
|
484 | afterEach: AfterInterface<Context>;
|
485 |
|
486 |
|
487 | before: BeforeInterface<Context>;
|
488 |
|
489 |
|
490 | beforeEach: BeforeInterface<Context>;
|
491 |
|
492 |
|
493 | cb: CbInterface<Context>;
|
494 |
|
495 |
|
496 | failing: FailingInterface<Context>;
|
497 |
|
498 |
|
499 | serial: SerialInterface<Context>;
|
500 |
|
501 | only: OnlyInterface<Context>;
|
502 | skip: SkipInterface<Context>;
|
503 | todo: TodoDeclaration;
|
504 | meta: MetaInterface;
|
505 | }
|
506 |
|
507 | export interface AfterInterface<Context = unknown> {
|
508 |
|
509 | (implementation: Implementation<Context>): void;
|
510 |
|
511 |
|
512 | (title: string, implementation: Implementation<Context>): void;
|
513 |
|
514 |
|
515 | <T extends any[]>(title: string, macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
516 |
|
517 |
|
518 | <T extends any[]>(macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
519 |
|
520 |
|
521 | always: AlwaysInterface<Context>;
|
522 |
|
523 |
|
524 | cb: HookCbInterface<Context>;
|
525 |
|
526 | skip: HookSkipInterface<Context>;
|
527 | }
|
528 |
|
529 | export interface AlwaysInterface<Context = unknown> {
|
530 |
|
531 | (implementation: Implementation<Context>): void;
|
532 |
|
533 |
|
534 | (title: string, implementation: Implementation<Context>): void;
|
535 |
|
536 |
|
537 | <T extends any[]>(title: string, macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
538 |
|
539 |
|
540 | <T extends any[]>(macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
541 |
|
542 |
|
543 | cb: HookCbInterface<Context>;
|
544 |
|
545 | skip: HookSkipInterface<Context>;
|
546 | }
|
547 |
|
548 | export interface BeforeInterface<Context = unknown> {
|
549 |
|
550 | (implementation: Implementation<Context>): void;
|
551 |
|
552 |
|
553 | (title: string, implementation: Implementation<Context>): void;
|
554 |
|
555 |
|
556 | <T extends any[]>(title: string, macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
557 |
|
558 |
|
559 | <T extends any[]>(macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
560 |
|
561 |
|
562 | cb: HookCbInterface<Context>;
|
563 |
|
564 | skip: HookSkipInterface<Context>;
|
565 | }
|
566 |
|
567 | export interface CbInterface<Context = unknown> {
|
568 |
|
569 | (title: string, implementation: CbImplementation<Context>): void;
|
570 |
|
571 | |
572 |
|
573 |
|
574 |
|
575 | <T extends any[]>(title: string, macros: OneOrMoreCbMacros<T, Context>, ...rest: T): void;
|
576 |
|
577 | |
578 |
|
579 |
|
580 |
|
581 | <T extends any[]>(macros: OneOrMoreCbMacros<T, Context>, ...rest: T): void;
|
582 |
|
583 |
|
584 | failing: CbFailingInterface<Context>;
|
585 |
|
586 | only: CbOnlyInterface<Context>;
|
587 | skip: CbSkipInterface<Context>;
|
588 | }
|
589 |
|
590 | export interface CbFailingInterface<Context = unknown> {
|
591 |
|
592 | (title: string, implementation: CbImplementation<Context>): void;
|
593 |
|
594 | |
595 |
|
596 |
|
597 |
|
598 | <T extends any[]>(title: string, macros: OneOrMoreCbMacros<T, Context>, ...rest: T): void;
|
599 |
|
600 | |
601 |
|
602 |
|
603 |
|
604 | <T extends any[]>(macros: OneOrMoreCbMacros<T, Context>, ...rest: T): void;
|
605 |
|
606 | only: CbOnlyInterface<Context>;
|
607 | skip: CbSkipInterface<Context>;
|
608 | }
|
609 |
|
610 | export interface CbOnlyInterface<Context = unknown> {
|
611 | |
612 |
|
613 |
|
614 | (title: string, implementation: CbImplementation<Context>): void;
|
615 |
|
616 | |
617 |
|
618 |
|
619 |
|
620 | <T extends any[]>(title: string, macros: OneOrMoreCbMacros<T, Context>, ...rest: T): void;
|
621 |
|
622 | |
623 |
|
624 |
|
625 |
|
626 | <T extends any[]>(macros: OneOrMoreCbMacros<T, Context>, ...rest: T): void;
|
627 | }
|
628 |
|
629 | export interface CbSkipInterface<Context = unknown> {
|
630 |
|
631 | (title: string, implementation: CbImplementation<Context>): void;
|
632 |
|
633 |
|
634 | <T extends any[]>(title: string, macros: OneOrMoreCbMacros<T, Context>, ...rest: T): void;
|
635 |
|
636 |
|
637 | <T extends any[]>(macros: OneOrMoreCbMacros<T, Context>, ...rest: T): void;
|
638 | }
|
639 |
|
640 | export interface FailingInterface<Context = unknown> {
|
641 |
|
642 | (title: string, implementation: Implementation<Context>): void;
|
643 |
|
644 | |
645 |
|
646 |
|
647 |
|
648 | <T extends any[]>(title: string, macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
649 |
|
650 | |
651 |
|
652 |
|
653 |
|
654 | <T extends any[]>(macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
655 |
|
656 | only: OnlyInterface<Context>;
|
657 | skip: SkipInterface<Context>;
|
658 | }
|
659 |
|
660 | export interface HookCbInterface<Context = unknown> {
|
661 |
|
662 | (implementation: CbImplementation<Context>): void;
|
663 |
|
664 |
|
665 | (title: string, implementation: CbImplementation<Context>): void;
|
666 |
|
667 | |
668 |
|
669 |
|
670 |
|
671 | <T extends any[]>(title: string, macros: OneOrMoreCbMacros<T, Context>, ...rest: T): void;
|
672 |
|
673 | |
674 |
|
675 |
|
676 | <T extends any[]>(macros: OneOrMoreCbMacros<T, Context>, ...rest: T): void;
|
677 |
|
678 | skip: HookCbSkipInterface<Context>;
|
679 | }
|
680 |
|
681 | export interface HookCbSkipInterface<Context = unknown> {
|
682 |
|
683 | (implementation: CbImplementation<Context>): void;
|
684 |
|
685 |
|
686 | (title: string, implementation: CbImplementation<Context>): void;
|
687 |
|
688 |
|
689 | <T extends any[]>(title: string, macros: OneOrMoreCbMacros<T, Context>, ...rest: T): void;
|
690 |
|
691 |
|
692 | <T extends any[]>(macros: OneOrMoreCbMacros<T, Context>, ...rest: T): void;
|
693 | }
|
694 |
|
695 | export interface HookSkipInterface<Context = unknown> {
|
696 |
|
697 | (implementation: Implementation<Context>): void;
|
698 |
|
699 |
|
700 | (title: string, implementation: Implementation<Context>): void;
|
701 |
|
702 |
|
703 | <T extends any[]>(title: string, macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
704 |
|
705 |
|
706 | <T extends any[]>(macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
707 | }
|
708 |
|
709 | export interface OnlyInterface<Context = unknown> {
|
710 |
|
711 | (title: string, implementation: Implementation<Context>): void;
|
712 |
|
713 | |
714 |
|
715 |
|
716 |
|
717 | <T extends any[]>(title: string, macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
718 |
|
719 | |
720 |
|
721 |
|
722 |
|
723 | <T extends any[]>(macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
724 | }
|
725 |
|
726 | export interface SerialInterface<Context = unknown> {
|
727 |
|
728 | (title: string, implementation: Implementation<Context>): void;
|
729 |
|
730 |
|
731 | <T extends any[]>(title: string, macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
732 |
|
733 | |
734 |
|
735 |
|
736 | <T extends any[]>(macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
737 |
|
738 |
|
739 | after: AfterInterface<Context>;
|
740 |
|
741 |
|
742 | afterEach: AfterInterface<Context>;
|
743 |
|
744 |
|
745 | before: BeforeInterface<Context>;
|
746 |
|
747 |
|
748 | beforeEach: BeforeInterface<Context>;
|
749 |
|
750 |
|
751 | cb: CbInterface<Context>;
|
752 |
|
753 |
|
754 | failing: FailingInterface<Context>;
|
755 |
|
756 | only: OnlyInterface<Context>;
|
757 | skip: SkipInterface<Context>;
|
758 | todo: TodoDeclaration;
|
759 | }
|
760 |
|
761 | export interface SkipInterface<Context = unknown> {
|
762 |
|
763 | (title: string, implementation: Implementation<Context>): void;
|
764 |
|
765 |
|
766 | <T extends any[]>(title: string, macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
767 |
|
768 |
|
769 | <T extends any[]>(macros: OneOrMoreMacros<T, Context>, ...rest: T): void;
|
770 | }
|
771 |
|
772 | export interface TodoDeclaration {
|
773 |
|
774 | (title: string): void;
|
775 | }
|
776 |
|
777 | export interface MetaInterface {
|
778 |
|
779 | file: string;
|
780 |
|
781 |
|
782 | snapshotDirectory: string;
|
783 | }
|
784 |
|
785 |
|
786 | declare const test: TestInterface;
|
787 |
|
788 |
|
789 | export default test;
|
790 |
|
791 |
|
792 | export const after: AfterInterface;
|
793 |
|
794 |
|
795 | export const afterEach: AfterInterface;
|
796 |
|
797 |
|
798 | export const before: BeforeInterface;
|
799 |
|
800 |
|
801 | export const beforeEach: BeforeInterface;
|
802 |
|
803 |
|
804 | export const cb: CbInterface;
|
805 |
|
806 |
|
807 | export const failing: FailingInterface;
|
808 |
|
809 |
|
810 | export const only: OnlyInterface;
|
811 |
|
812 |
|
813 | export const serial: SerialInterface;
|
814 |
|
815 |
|
816 | export const skip: SkipInterface;
|
817 |
|
818 |
|
819 | export const todo: TodoDeclaration;
|
820 |
|
821 |
|
822 | export const meta: MetaInterface;
|
823 |
|
\ | No newline at end of file |