@autometa/events 0.3.2 → 1.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts DELETED
@@ -1,886 +0,0 @@
1
- import * as zod from 'zod';
2
- import { z } from 'zod';
3
- import { Class } from '@autometa/types';
4
- import { InjectionToken } from 'tsyringe';
5
- import EventEmitter from 'events';
6
-
7
- declare const UUIDStringSchema: z.ZodOptional<z.ZodString>;
8
- declare const StatusSchema: z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>;
9
- declare const EventOptionsSchema: z.ZodObject<{
10
- title: z.ZodOptional<z.ZodString>;
11
- keyword: z.ZodOptional<z.ZodString>;
12
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
14
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
15
- }, "strip", z.ZodTypeAny, {
16
- title?: string | undefined;
17
- keyword?: string | undefined;
18
- tags?: string[] | undefined;
19
- modifier?: "skip" | "only" | undefined;
20
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
21
- }, {
22
- title?: string | undefined;
23
- keyword?: string | undefined;
24
- tags?: string[] | undefined;
25
- modifier?: "skip" | "only" | undefined;
26
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
27
- }>;
28
- declare const ErrorEventSchema: z.ZodObject<{
29
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
30
- title: z.ZodOptional<z.ZodString>;
31
- keyword: z.ZodOptional<z.ZodString>;
32
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
33
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
34
- error: z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>;
35
- }, "strip", z.ZodTypeAny, {
36
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
37
- title?: string | undefined;
38
- keyword?: string | undefined;
39
- tags?: string[] | undefined;
40
- modifier?: "skip" | "only" | undefined;
41
- error?: Error | undefined;
42
- }, {
43
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
44
- title?: string | undefined;
45
- keyword?: string | undefined;
46
- tags?: string[] | undefined;
47
- modifier?: "skip" | "only" | undefined;
48
- error?: Error | undefined;
49
- }>;
50
- declare const ArgsEventSchema: z.ZodObject<{
51
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
52
- title: z.ZodOptional<z.ZodString>;
53
- keyword: z.ZodOptional<z.ZodString>;
54
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
55
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
56
- args: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
57
- }, "strip", z.ZodTypeAny, {
58
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
59
- title?: string | undefined;
60
- keyword?: string | undefined;
61
- tags?: string[] | undefined;
62
- modifier?: "skip" | "only" | undefined;
63
- args?: unknown[] | undefined;
64
- }, {
65
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
66
- title?: string | undefined;
67
- keyword?: string | undefined;
68
- tags?: string[] | undefined;
69
- modifier?: "skip" | "only" | undefined;
70
- args?: unknown[] | undefined;
71
- }>;
72
- declare const StartFeatureOptsSchema: z.ZodObject<{
73
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
74
- title: z.ZodOptional<z.ZodString>;
75
- keyword: z.ZodOptional<z.ZodString>;
76
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
77
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
78
- path: z.ZodOptional<z.ZodString>;
79
- }, "strip", z.ZodTypeAny, {
80
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
81
- title?: string | undefined;
82
- keyword?: string | undefined;
83
- tags?: string[] | undefined;
84
- modifier?: "skip" | "only" | undefined;
85
- path?: string | undefined;
86
- }, {
87
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
88
- title?: string | undefined;
89
- keyword?: string | undefined;
90
- tags?: string[] | undefined;
91
- modifier?: "skip" | "only" | undefined;
92
- path?: string | undefined;
93
- }>;
94
- declare const EndFeatureOptsSchema: z.ZodObject<{
95
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
96
- title: z.ZodOptional<z.ZodString>;
97
- keyword: z.ZodOptional<z.ZodString>;
98
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
99
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
100
- error: z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>;
101
- }, "strip", z.ZodTypeAny, {
102
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
103
- title?: string | undefined;
104
- keyword?: string | undefined;
105
- tags?: string[] | undefined;
106
- modifier?: "skip" | "only" | undefined;
107
- error?: Error | undefined;
108
- }, {
109
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
110
- title?: string | undefined;
111
- keyword?: string | undefined;
112
- tags?: string[] | undefined;
113
- modifier?: "skip" | "only" | undefined;
114
- error?: Error | undefined;
115
- }>;
116
- declare const EndRuleOptsSchema: z.ZodObject<{
117
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
118
- title: z.ZodOptional<z.ZodString>;
119
- keyword: z.ZodOptional<z.ZodString>;
120
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
121
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
122
- error: z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>;
123
- }, "strip", z.ZodTypeAny, {
124
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
125
- title?: string | undefined;
126
- keyword?: string | undefined;
127
- tags?: string[] | undefined;
128
- modifier?: "skip" | "only" | undefined;
129
- error?: Error | undefined;
130
- }, {
131
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
132
- title?: string | undefined;
133
- keyword?: string | undefined;
134
- tags?: string[] | undefined;
135
- modifier?: "skip" | "only" | undefined;
136
- error?: Error | undefined;
137
- }>;
138
- declare const StartScenarioOutlineOptsSchema: z.ZodObject<{
139
- title: z.ZodOptional<z.ZodString>;
140
- keyword: z.ZodOptional<z.ZodString>;
141
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
142
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
143
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
144
- }, "strip", z.ZodTypeAny, {
145
- title?: string | undefined;
146
- keyword?: string | undefined;
147
- tags?: string[] | undefined;
148
- modifier?: "skip" | "only" | undefined;
149
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
150
- }, {
151
- title?: string | undefined;
152
- keyword?: string | undefined;
153
- tags?: string[] | undefined;
154
- modifier?: "skip" | "only" | undefined;
155
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
156
- }>;
157
- declare const EndScenarioOutlineOptsSchema: z.ZodObject<{
158
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
159
- title: z.ZodOptional<z.ZodString>;
160
- keyword: z.ZodOptional<z.ZodString>;
161
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
162
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
163
- error: z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>;
164
- }, "strip", z.ZodTypeAny, {
165
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
166
- title?: string | undefined;
167
- keyword?: string | undefined;
168
- tags?: string[] | undefined;
169
- modifier?: "skip" | "only" | undefined;
170
- error?: Error | undefined;
171
- }, {
172
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
173
- title?: string | undefined;
174
- keyword?: string | undefined;
175
- tags?: string[] | undefined;
176
- modifier?: "skip" | "only" | undefined;
177
- error?: Error | undefined;
178
- }>;
179
- declare const StartScenarioOptsSchema: z.ZodObject<{
180
- title: z.ZodOptional<z.ZodString>;
181
- keyword: z.ZodOptional<z.ZodString>;
182
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
183
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
184
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
185
- }, "strip", z.ZodTypeAny, {
186
- title?: string | undefined;
187
- keyword?: string | undefined;
188
- tags?: string[] | undefined;
189
- modifier?: "skip" | "only" | undefined;
190
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
191
- }, {
192
- title?: string | undefined;
193
- keyword?: string | undefined;
194
- tags?: string[] | undefined;
195
- modifier?: "skip" | "only" | undefined;
196
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
197
- }>;
198
- declare const EndScenarioOptsSchema: z.ZodObject<{
199
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
200
- title: z.ZodOptional<z.ZodString>;
201
- keyword: z.ZodOptional<z.ZodString>;
202
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
203
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
204
- error: z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>;
205
- }, "strip", z.ZodTypeAny, {
206
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
207
- title?: string | undefined;
208
- keyword?: string | undefined;
209
- tags?: string[] | undefined;
210
- modifier?: "skip" | "only" | undefined;
211
- error?: Error | undefined;
212
- }, {
213
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
214
- title?: string | undefined;
215
- keyword?: string | undefined;
216
- tags?: string[] | undefined;
217
- modifier?: "skip" | "only" | undefined;
218
- error?: Error | undefined;
219
- }>;
220
- declare const StartStepOptsSchema: z.ZodObject<{
221
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
222
- title: z.ZodOptional<z.ZodString>;
223
- keyword: z.ZodOptional<z.ZodString>;
224
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
225
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
226
- args: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
227
- expression: z.ZodOptional<z.ZodString>;
228
- }, "strip", z.ZodTypeAny, {
229
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
230
- title?: string | undefined;
231
- keyword?: string | undefined;
232
- tags?: string[] | undefined;
233
- modifier?: "skip" | "only" | undefined;
234
- args?: unknown[] | undefined;
235
- expression?: string | undefined;
236
- }, {
237
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
238
- title?: string | undefined;
239
- keyword?: string | undefined;
240
- tags?: string[] | undefined;
241
- modifier?: "skip" | "only" | undefined;
242
- args?: unknown[] | undefined;
243
- expression?: string | undefined;
244
- }>;
245
- declare const EndStepOptsSchema: z.ZodIntersection<z.ZodObject<{
246
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
247
- title: z.ZodOptional<z.ZodString>;
248
- keyword: z.ZodOptional<z.ZodString>;
249
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
250
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
251
- args: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
252
- expression: z.ZodString;
253
- }, "strip", z.ZodTypeAny, {
254
- expression: string;
255
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
256
- title?: string | undefined;
257
- keyword?: string | undefined;
258
- tags?: string[] | undefined;
259
- modifier?: "skip" | "only" | undefined;
260
- args?: unknown[] | undefined;
261
- }, {
262
- expression: string;
263
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
264
- title?: string | undefined;
265
- keyword?: string | undefined;
266
- tags?: string[] | undefined;
267
- modifier?: "skip" | "only" | undefined;
268
- args?: unknown[] | undefined;
269
- }>, z.ZodObject<{
270
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
271
- title: z.ZodOptional<z.ZodString>;
272
- keyword: z.ZodOptional<z.ZodString>;
273
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
274
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
275
- error: z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>;
276
- }, "strip", z.ZodTypeAny, {
277
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
278
- title?: string | undefined;
279
- keyword?: string | undefined;
280
- tags?: string[] | undefined;
281
- modifier?: "skip" | "only" | undefined;
282
- error?: Error | undefined;
283
- }, {
284
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
285
- title?: string | undefined;
286
- keyword?: string | undefined;
287
- tags?: string[] | undefined;
288
- modifier?: "skip" | "only" | undefined;
289
- error?: Error | undefined;
290
- }>>;
291
- declare const StartBeforeOptsSchema: z.ZodObject<{
292
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
293
- title: z.ZodOptional<z.ZodString>;
294
- keyword: z.ZodOptional<z.ZodString>;
295
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
296
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
297
- args: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
298
- }, "strip", z.ZodTypeAny, {
299
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
300
- title?: string | undefined;
301
- keyword?: string | undefined;
302
- tags?: string[] | undefined;
303
- modifier?: "skip" | "only" | undefined;
304
- args?: unknown[] | undefined;
305
- }, {
306
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
307
- title?: string | undefined;
308
- keyword?: string | undefined;
309
- tags?: string[] | undefined;
310
- modifier?: "skip" | "only" | undefined;
311
- args?: unknown[] | undefined;
312
- }>;
313
- declare const EndBeforeOptsSchema: z.ZodObject<{
314
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
315
- title: z.ZodOptional<z.ZodString>;
316
- keyword: z.ZodOptional<z.ZodString>;
317
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
318
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
319
- error: z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>;
320
- }, "strip", z.ZodTypeAny, {
321
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
322
- title?: string | undefined;
323
- keyword?: string | undefined;
324
- tags?: string[] | undefined;
325
- modifier?: "skip" | "only" | undefined;
326
- error?: Error | undefined;
327
- }, {
328
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
329
- title?: string | undefined;
330
- keyword?: string | undefined;
331
- tags?: string[] | undefined;
332
- modifier?: "skip" | "only" | undefined;
333
- error?: Error | undefined;
334
- }>;
335
- declare const StartAfterOptsSchema: z.ZodObject<{
336
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
337
- title: z.ZodOptional<z.ZodString>;
338
- keyword: z.ZodOptional<z.ZodString>;
339
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
340
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
341
- args: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
342
- }, "strip", z.ZodTypeAny, {
343
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
344
- title?: string | undefined;
345
- keyword?: string | undefined;
346
- tags?: string[] | undefined;
347
- modifier?: "skip" | "only" | undefined;
348
- args?: unknown[] | undefined;
349
- }, {
350
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
351
- title?: string | undefined;
352
- keyword?: string | undefined;
353
- tags?: string[] | undefined;
354
- modifier?: "skip" | "only" | undefined;
355
- args?: unknown[] | undefined;
356
- }>;
357
- declare const EndAfterOptsSchema: z.ZodObject<{
358
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
359
- title: z.ZodOptional<z.ZodString>;
360
- keyword: z.ZodOptional<z.ZodString>;
361
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
362
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
363
- error: z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>;
364
- }, "strip", z.ZodTypeAny, {
365
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
366
- title?: string | undefined;
367
- keyword?: string | undefined;
368
- tags?: string[] | undefined;
369
- modifier?: "skip" | "only" | undefined;
370
- error?: Error | undefined;
371
- }, {
372
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
373
- title?: string | undefined;
374
- keyword?: string | undefined;
375
- tags?: string[] | undefined;
376
- modifier?: "skip" | "only" | undefined;
377
- error?: Error | undefined;
378
- }>;
379
- declare const StartSetupOptsSchema: z.ZodObject<{
380
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
381
- title: z.ZodOptional<z.ZodString>;
382
- keyword: z.ZodOptional<z.ZodString>;
383
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
384
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
385
- args: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
386
- }, "strip", z.ZodTypeAny, {
387
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
388
- title?: string | undefined;
389
- keyword?: string | undefined;
390
- tags?: string[] | undefined;
391
- modifier?: "skip" | "only" | undefined;
392
- args?: unknown[] | undefined;
393
- }, {
394
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
395
- title?: string | undefined;
396
- keyword?: string | undefined;
397
- tags?: string[] | undefined;
398
- modifier?: "skip" | "only" | undefined;
399
- args?: unknown[] | undefined;
400
- }>;
401
- declare const EndSetupOptsSchema: z.ZodObject<{
402
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
403
- title: z.ZodOptional<z.ZodString>;
404
- keyword: z.ZodOptional<z.ZodString>;
405
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
406
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
407
- error: z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>;
408
- }, "strip", z.ZodTypeAny, {
409
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
410
- title?: string | undefined;
411
- keyword?: string | undefined;
412
- tags?: string[] | undefined;
413
- modifier?: "skip" | "only" | undefined;
414
- error?: Error | undefined;
415
- }, {
416
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
417
- title?: string | undefined;
418
- keyword?: string | undefined;
419
- tags?: string[] | undefined;
420
- modifier?: "skip" | "only" | undefined;
421
- error?: Error | undefined;
422
- }>;
423
- declare const StartTeardownOptsSchema: z.ZodObject<{
424
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
425
- title: z.ZodOptional<z.ZodString>;
426
- keyword: z.ZodOptional<z.ZodString>;
427
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
428
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
429
- args: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
430
- }, "strip", z.ZodTypeAny, {
431
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
432
- title?: string | undefined;
433
- keyword?: string | undefined;
434
- tags?: string[] | undefined;
435
- modifier?: "skip" | "only" | undefined;
436
- args?: unknown[] | undefined;
437
- }, {
438
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
439
- title?: string | undefined;
440
- keyword?: string | undefined;
441
- tags?: string[] | undefined;
442
- modifier?: "skip" | "only" | undefined;
443
- args?: unknown[] | undefined;
444
- }>;
445
- declare const EndTeardownOptsSchema: z.ZodObject<{
446
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"FAILED">, z.ZodLiteral<"BROKEN">, z.ZodLiteral<"PASSED">, z.ZodLiteral<"SKIPPED">]>>;
447
- title: z.ZodOptional<z.ZodString>;
448
- keyword: z.ZodOptional<z.ZodString>;
449
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
450
- modifier: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"skip">, z.ZodLiteral<"only">]>>;
451
- error: z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>;
452
- }, "strip", z.ZodTypeAny, {
453
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
454
- title?: string | undefined;
455
- keyword?: string | undefined;
456
- tags?: string[] | undefined;
457
- modifier?: "skip" | "only" | undefined;
458
- error?: Error | undefined;
459
- }, {
460
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
461
- title?: string | undefined;
462
- keyword?: string | undefined;
463
- tags?: string[] | undefined;
464
- modifier?: "skip" | "only" | undefined;
465
- error?: Error | undefined;
466
- }>;
467
- type EventOptions = z.infer<typeof EventOptionsSchema>;
468
- type StartFeatureOpts = z.infer<typeof StartFeatureOptsSchema>;
469
- type EndFeatureOpts = z.infer<typeof EndFeatureOptsSchema>;
470
- type StartRuleOpts = EventOptions;
471
- type EndRuleOpts = z.infer<typeof EndRuleOptsSchema>;
472
- type StartScenarioOutlineOpts = z.infer<typeof StartScenarioOutlineOptsSchema>;
473
- type EndScenarioOutlineOpts = z.infer<typeof EndScenarioOutlineOptsSchema>;
474
- type StartScenarioOpts = z.infer<typeof StartScenarioOptsSchema>;
475
- type EndScenarioOpts = z.infer<typeof EndScenarioOptsSchema>;
476
- type StartStepOpts = z.infer<typeof StartStepOptsSchema>;
477
- type EndStepOpts = z.infer<typeof EndStepOptsSchema>;
478
- type StartBeforeOpts = z.infer<typeof StartBeforeOptsSchema>;
479
- type EndBeforeOpts = z.infer<typeof EndBeforeOptsSchema>;
480
- type StartAfterOpts = z.infer<typeof StartAfterOptsSchema>;
481
- type EndAfterOpts = z.infer<typeof EndAfterOptsSchema>;
482
- type StartSetupOpts = z.infer<typeof StartSetupOptsSchema>;
483
- type EndSetupOpts = z.infer<typeof EndSetupOptsSchema>;
484
- type StartTeardownOpts = z.infer<typeof StartTeardownOptsSchema>;
485
- type EndTeardownOpts = z.infer<typeof EndTeardownOptsSchema>;
486
-
487
- type DependencyInstanceProvider = {
488
- token: InjectionToken<unknown>;
489
- instance: unknown;
490
- };
491
- declare const EventSubscriberSchema: zod.ZodObject<{
492
- onFeature: zod.ZodFunction<zod.ZodTuple<[], zod.ZodUnknown>, zod.ZodUnknown>;
493
- }, "strip", zod.ZodTypeAny, {
494
- onFeature: (...args: unknown[]) => unknown;
495
- }, {
496
- onFeature: (...args: unknown[]) => unknown;
497
- }>;
498
- interface EventSubscriber {
499
- onBeforeFeatureStart?(opts: StartFeatureOpts): void;
500
- onBeforeFeatureEnd?(opts: EndFeatureOpts): void;
501
- onAfterFeatureStart?(opts: StartFeatureOpts): void;
502
- onAfterFeatureEnd?(opts: EndFeatureOpts): void;
503
- onFeatureStart?(opts: StartFeatureOpts): void;
504
- onFeatureEnd?(opts: EndFeatureOpts): void;
505
- onBeforeRuleStart?(opts: StartRuleOpts): void;
506
- onBeforeRuleEnd?(opts: EndRuleOpts): void;
507
- onAfterRuleStart?(opts: StartRuleOpts): void;
508
- onAfterRuleEnd?(opts: EndRuleOpts): void;
509
- onRuleStart?(opts: StartRuleOpts): void;
510
- onRuleEnd?(opts: EndRuleOpts): void;
511
- onBeforeScenarioOutlineStart?(opts: StartScenarioOutlineOpts): void;
512
- onBeforeScenarioOutlineEnd?(opts: EndScenarioOpts): void;
513
- onAfterScenarioOutlineStart?(opts: StartScenarioOutlineOpts): void;
514
- onAfterScenarioOutlineEnd?(opts: EndScenarioOpts): void;
515
- onBeforeExamplesStart?(opts: StartScenarioOutlineOpts): void;
516
- onBeforeExamplesEnd?(opts: EndScenarioOpts): void;
517
- onAfterExamplesStart?(opts: StartScenarioOutlineOpts): void;
518
- onAfterExamplesEnd?(opts: EndScenarioOpts): void;
519
- onScenarioOutlineStart?(opts: StartScenarioOutlineOpts): void;
520
- onScenarioOutlineEnd?(opts: EndScenarioOpts): void;
521
- onPreScenarioStart?(): void;
522
- onPostScenarioEnd?(): void;
523
- onScenarioStart?(opts: StartScenarioOpts): void;
524
- onScenarioEnd?(opts: EndScenarioOpts): void;
525
- onStepStart?(opts: StartStepOpts): void;
526
- onStepEnd?(opts: EndStepOpts): void;
527
- onSetupStart?(opts: StartSetupOpts): void;
528
- onSetupEnd?(opts: EndSetupOpts): void;
529
- onTeardownStart?(opts: StartTeardownOpts): void;
530
- onTeardownEnd?(opts: EndTeardownOpts): void;
531
- onBeforeStart?(opts: StartBeforeOpts): void;
532
- onBeforeEnd?(opts: EndBeforeOpts): void;
533
- onAfterStart?(opts: StartAfterOpts): void;
534
- onAfterEnd?(opts: EndAfterOpts): void;
535
- onBeforeStepStart?(opts: StartStepOpts): void;
536
- onBeforeStepEnd?(opts: EndStepOpts): void;
537
- onAfterStepStart?(opts: StartStepOpts): void;
538
- onAfterStepEnd?(opts: EndStepOpts): void;
539
- }
540
- declare abstract class ProviderSubscriber implements EventSubscriber {
541
- abstract get fixtures(): {
542
- instances?: DependencyInstanceProvider[];
543
- prototypes?: Class<unknown>[];
544
- };
545
- addFixtureInstance: (instance: DependencyInstanceProvider) => void;
546
- onFeatureStart?(opts: StartFeatureOpts): void;
547
- }
548
-
549
- declare class TestEmitter<TArgsStart = never, TArgsEnd = never> extends EventEmitter {
550
- readonly name: string;
551
- private promises;
552
- constructor(name: string);
553
- emitStart: (...args: TArgsStart[]) => void;
554
- onStart: (action?: ((...args: unknown[]) => void) | undefined) => void;
555
- onEnd: (action?: ((...args: unknown[]) => void) | undefined) => void;
556
- emitEnd: (...args: TArgsEnd[]) => void;
557
- load: (onStart?: Cb, onEnd?: Cb) => void;
558
- collectPromises: (name: string, action: (...args: unknown[]) => unknown) => (...args: unknown[]) => void;
559
- waitForPromises: () => Promise<number>;
560
- }
561
-
562
- declare class TestEventEmitter {
563
- scenarioOutline: TestEmitter<{
564
- title?: string | undefined;
565
- keyword?: string | undefined;
566
- tags?: string[] | undefined;
567
- modifier?: "skip" | "only" | undefined;
568
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
569
- }, {
570
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
571
- title?: string | undefined;
572
- keyword?: string | undefined;
573
- tags?: string[] | undefined;
574
- modifier?: "skip" | "only" | undefined;
575
- error?: Error | undefined;
576
- }>;
577
- feature: TestEmitter<{
578
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
579
- title?: string | undefined;
580
- keyword?: string | undefined;
581
- tags?: string[] | undefined;
582
- modifier?: "skip" | "only" | undefined;
583
- path?: string | undefined;
584
- }, {
585
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
586
- title?: string | undefined;
587
- keyword?: string | undefined;
588
- tags?: string[] | undefined;
589
- modifier?: "skip" | "only" | undefined;
590
- error?: Error | undefined;
591
- }>;
592
- rule: TestEmitter<{
593
- title?: string | undefined;
594
- keyword?: string | undefined;
595
- tags?: string[] | undefined;
596
- modifier?: "skip" | "only" | undefined;
597
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
598
- }, {
599
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
600
- title?: string | undefined;
601
- keyword?: string | undefined;
602
- tags?: string[] | undefined;
603
- modifier?: "skip" | "only" | undefined;
604
- error?: Error | undefined;
605
- }>;
606
- scenario: TestEmitter<{
607
- title?: string | undefined;
608
- keyword?: string | undefined;
609
- tags?: string[] | undefined;
610
- modifier?: "skip" | "only" | undefined;
611
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
612
- }, {
613
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
614
- title?: string | undefined;
615
- keyword?: string | undefined;
616
- tags?: string[] | undefined;
617
- modifier?: "skip" | "only" | undefined;
618
- error?: Error | undefined;
619
- }>;
620
- scenarioWrapper: TestEmitter<never, never>;
621
- setup: TestEmitter<{
622
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
623
- title?: string | undefined;
624
- keyword?: string | undefined;
625
- tags?: string[] | undefined;
626
- modifier?: "skip" | "only" | undefined;
627
- args?: unknown[] | undefined;
628
- }, {
629
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
630
- title?: string | undefined;
631
- keyword?: string | undefined;
632
- tags?: string[] | undefined;
633
- modifier?: "skip" | "only" | undefined;
634
- error?: Error | undefined;
635
- }>;
636
- beforeFeature: TestEmitter<{
637
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
638
- title?: string | undefined;
639
- keyword?: string | undefined;
640
- tags?: string[] | undefined;
641
- modifier?: "skip" | "only" | undefined;
642
- args?: unknown[] | undefined;
643
- }, {
644
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
645
- title?: string | undefined;
646
- keyword?: string | undefined;
647
- tags?: string[] | undefined;
648
- modifier?: "skip" | "only" | undefined;
649
- error?: Error | undefined;
650
- }>;
651
- afterFeature: TestEmitter<{
652
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
653
- title?: string | undefined;
654
- keyword?: string | undefined;
655
- tags?: string[] | undefined;
656
- modifier?: "skip" | "only" | undefined;
657
- args?: unknown[] | undefined;
658
- }, {
659
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
660
- title?: string | undefined;
661
- keyword?: string | undefined;
662
- tags?: string[] | undefined;
663
- modifier?: "skip" | "only" | undefined;
664
- error?: Error | undefined;
665
- }>;
666
- beforeRule: TestEmitter<{
667
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
668
- title?: string | undefined;
669
- keyword?: string | undefined;
670
- tags?: string[] | undefined;
671
- modifier?: "skip" | "only" | undefined;
672
- args?: unknown[] | undefined;
673
- }, {
674
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
675
- title?: string | undefined;
676
- keyword?: string | undefined;
677
- tags?: string[] | undefined;
678
- modifier?: "skip" | "only" | undefined;
679
- error?: Error | undefined;
680
- }>;
681
- afterRule: TestEmitter<{
682
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
683
- title?: string | undefined;
684
- keyword?: string | undefined;
685
- tags?: string[] | undefined;
686
- modifier?: "skip" | "only" | undefined;
687
- args?: unknown[] | undefined;
688
- }, {
689
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
690
- title?: string | undefined;
691
- keyword?: string | undefined;
692
- tags?: string[] | undefined;
693
- modifier?: "skip" | "only" | undefined;
694
- error?: Error | undefined;
695
- }>;
696
- beforeScenarioOutline: TestEmitter<{
697
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
698
- title?: string | undefined;
699
- keyword?: string | undefined;
700
- tags?: string[] | undefined;
701
- modifier?: "skip" | "only" | undefined;
702
- args?: unknown[] | undefined;
703
- }, {
704
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
705
- title?: string | undefined;
706
- keyword?: string | undefined;
707
- tags?: string[] | undefined;
708
- modifier?: "skip" | "only" | undefined;
709
- error?: Error | undefined;
710
- }>;
711
- afterScenarioOutline: TestEmitter<{
712
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
713
- title?: string | undefined;
714
- keyword?: string | undefined;
715
- tags?: string[] | undefined;
716
- modifier?: "skip" | "only" | undefined;
717
- args?: unknown[] | undefined;
718
- }, {
719
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
720
- title?: string | undefined;
721
- keyword?: string | undefined;
722
- tags?: string[] | undefined;
723
- modifier?: "skip" | "only" | undefined;
724
- error?: Error | undefined;
725
- }>;
726
- beforeExamples: TestEmitter<{
727
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
728
- title?: string | undefined;
729
- keyword?: string | undefined;
730
- tags?: string[] | undefined;
731
- modifier?: "skip" | "only" | undefined;
732
- args?: unknown[] | undefined;
733
- }, {
734
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
735
- title?: string | undefined;
736
- keyword?: string | undefined;
737
- tags?: string[] | undefined;
738
- modifier?: "skip" | "only" | undefined;
739
- error?: Error | undefined;
740
- }>;
741
- afterExamples: TestEmitter<{
742
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
743
- title?: string | undefined;
744
- keyword?: string | undefined;
745
- tags?: string[] | undefined;
746
- modifier?: "skip" | "only" | undefined;
747
- args?: unknown[] | undefined;
748
- }, {
749
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
750
- title?: string | undefined;
751
- keyword?: string | undefined;
752
- tags?: string[] | undefined;
753
- modifier?: "skip" | "only" | undefined;
754
- error?: Error | undefined;
755
- }>;
756
- teardown: TestEmitter<{
757
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
758
- title?: string | undefined;
759
- keyword?: string | undefined;
760
- tags?: string[] | undefined;
761
- modifier?: "skip" | "only" | undefined;
762
- args?: unknown[] | undefined;
763
- }, {
764
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
765
- title?: string | undefined;
766
- keyword?: string | undefined;
767
- tags?: string[] | undefined;
768
- modifier?: "skip" | "only" | undefined;
769
- error?: Error | undefined;
770
- }>;
771
- before: TestEmitter<{
772
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
773
- title?: string | undefined;
774
- keyword?: string | undefined;
775
- tags?: string[] | undefined;
776
- modifier?: "skip" | "only" | undefined;
777
- args?: unknown[] | undefined;
778
- }, {
779
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
780
- title?: string | undefined;
781
- keyword?: string | undefined;
782
- tags?: string[] | undefined;
783
- modifier?: "skip" | "only" | undefined;
784
- error?: Error | undefined;
785
- }>;
786
- after: TestEmitter<{
787
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
788
- title?: string | undefined;
789
- keyword?: string | undefined;
790
- tags?: string[] | undefined;
791
- modifier?: "skip" | "only" | undefined;
792
- args?: unknown[] | undefined;
793
- }, {
794
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
795
- title?: string | undefined;
796
- keyword?: string | undefined;
797
- tags?: string[] | undefined;
798
- modifier?: "skip" | "only" | undefined;
799
- error?: Error | undefined;
800
- }>;
801
- step: TestEmitter<{
802
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
803
- title?: string | undefined;
804
- keyword?: string | undefined;
805
- tags?: string[] | undefined;
806
- modifier?: "skip" | "only" | undefined;
807
- args?: unknown[] | undefined;
808
- expression?: string | undefined;
809
- }, {
810
- expression: string;
811
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
812
- title?: string | undefined;
813
- keyword?: string | undefined;
814
- tags?: string[] | undefined;
815
- modifier?: "skip" | "only" | undefined;
816
- args?: unknown[] | undefined;
817
- } & {
818
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
819
- title?: string | undefined;
820
- keyword?: string | undefined;
821
- tags?: string[] | undefined;
822
- modifier?: "skip" | "only" | undefined;
823
- error?: Error | undefined;
824
- }>;
825
- beforeStep: TestEmitter<{
826
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
827
- title?: string | undefined;
828
- keyword?: string | undefined;
829
- tags?: string[] | undefined;
830
- modifier?: "skip" | "only" | undefined;
831
- args?: unknown[] | undefined;
832
- expression?: string | undefined;
833
- }, {
834
- expression: string;
835
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
836
- title?: string | undefined;
837
- keyword?: string | undefined;
838
- tags?: string[] | undefined;
839
- modifier?: "skip" | "only" | undefined;
840
- args?: unknown[] | undefined;
841
- } & {
842
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
843
- title?: string | undefined;
844
- keyword?: string | undefined;
845
- tags?: string[] | undefined;
846
- modifier?: "skip" | "only" | undefined;
847
- error?: Error | undefined;
848
- }>;
849
- afterStep: TestEmitter<{
850
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
851
- title?: string | undefined;
852
- keyword?: string | undefined;
853
- tags?: string[] | undefined;
854
- modifier?: "skip" | "only" | undefined;
855
- args?: unknown[] | undefined;
856
- expression?: string | undefined;
857
- }, {
858
- expression: string;
859
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
860
- title?: string | undefined;
861
- keyword?: string | undefined;
862
- tags?: string[] | undefined;
863
- modifier?: "skip" | "only" | undefined;
864
- args?: unknown[] | undefined;
865
- } & {
866
- status?: "FAILED" | "BROKEN" | "PASSED" | "SKIPPED" | undefined;
867
- title?: string | undefined;
868
- keyword?: string | undefined;
869
- tags?: string[] | undefined;
870
- modifier?: "skip" | "only" | undefined;
871
- error?: Error | undefined;
872
- }>;
873
- settleAsyncEvents: () => Promise<[PromiseSettledResult<number>, PromiseSettledResult<number>, PromiseSettledResult<number>, PromiseSettledResult<number>, PromiseSettledResult<number>, PromiseSettledResult<number>, PromiseSettledResult<number>, PromiseSettledResult<number>, PromiseSettledResult<number>, PromiseSettledResult<number>]>;
874
- load: ({ onFeatureStart, onFeatureEnd, onScenarioOutlineStart, onScenarioOutlineEnd, onScenarioStart, onScenarioEnd, onRuleStart, onRuleEnd, onBeforeStart, onBeforeEnd, onSetupStart, onSetupEnd, onStepStart, onStepEnd, onAfterStart, onAfterEnd, onTeardownStart, onTeardownEnd, onPreScenarioStart, onPostScenarioEnd, onBeforeFeatureStart, onBeforeFeatureEnd, onAfterFeatureStart, onAfterFeatureEnd, onBeforeRuleStart, onBeforeRuleEnd, onAfterRuleStart, onAfterRuleEnd, onBeforeScenarioOutlineStart, onBeforeScenarioOutlineEnd, onAfterScenarioOutlineStart, onAfterScenarioOutlineEnd, onBeforeExamplesStart, onBeforeExamplesEnd, onAfterExamplesStart, onBeforeStepStart, onBeforeStepEnd, onAfterStepStart, onAfterStepEnd, }: EventSubscriber) => void;
875
- }
876
- type Cb = (...args: any[]) => void;
877
-
878
- declare const Status: {
879
- readonly FAILED: "FAILED";
880
- readonly BROKEN: "BROKEN";
881
- readonly PASSED: "PASSED";
882
- readonly SKIPPED: "SKIPPED";
883
- };
884
- type StatusType = keyof typeof Status;
885
-
886
- export { ArgsEventSchema, Cb, DependencyInstanceProvider, EndAfterOpts, EndAfterOptsSchema, EndBeforeOpts, EndBeforeOptsSchema, EndFeatureOpts, EndFeatureOptsSchema, EndRuleOpts, EndRuleOptsSchema, EndScenarioOpts, EndScenarioOptsSchema, EndScenarioOutlineOpts, EndScenarioOutlineOptsSchema, EndSetupOpts, EndSetupOptsSchema, EndStepOpts, EndStepOptsSchema, EndTeardownOpts, EndTeardownOptsSchema, ErrorEventSchema, EventOptions, EventOptionsSchema, EventSubscriber, EventSubscriberSchema, ProviderSubscriber, StartAfterOpts, StartAfterOptsSchema, StartBeforeOpts, StartBeforeOptsSchema, StartFeatureOpts, StartFeatureOptsSchema, StartRuleOpts, StartScenarioOpts, StartScenarioOptsSchema, StartScenarioOutlineOpts, StartScenarioOutlineOptsSchema, StartSetupOpts, StartSetupOptsSchema, StartStepOpts, StartStepOptsSchema, StartTeardownOpts, StartTeardownOptsSchema, Status, StatusSchema, StatusType, TestEmitter, TestEventEmitter, UUIDStringSchema };