@teambit/jest 1.0.257 → 1.0.259

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.
@@ -14,831 +14,858 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "jest.tester.ts",
20
- "line": 39,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 1,
21
+ "character": 10
22
22
  },
23
- "signature": "class JestTester",
24
23
  "name": "JestTester",
25
- "members": [
26
- {
27
- "__schema": "ConstructorSchema",
28
- "location": {
29
- "filePath": "jest.tester.ts",
30
- "line": 42,
31
- "character": 3
32
- },
33
- "signature": "constructor JestTester(id: string, jestConfig: any, jestModulePath: string, jestWorker: HarmonyWorker<JestWorker>, logger: Logger, opts?: JestTesterOptions): JestTester",
34
- "name": "constructor",
35
- "params": [
36
- {
37
- "__schema": "ParameterSchema",
38
- "location": {
39
- "filePath": "jest.tester.ts",
40
- "line": 43,
41
- "character": 5
42
- },
43
- "name": "id",
44
- "type": {
45
- "__schema": "KeywordTypeSchema",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "jest.tester.ts",
28
+ "line": 39,
29
+ "character": 1
30
+ },
31
+ "signature": "class JestTester",
32
+ "name": "JestTester",
33
+ "members": [
34
+ {
35
+ "__schema": "ConstructorSchema",
36
+ "location": {
37
+ "filePath": "jest.tester.ts",
38
+ "line": 42,
39
+ "character": 3
40
+ },
41
+ "signature": "constructor JestTester(id: string, jestConfig: any, jestModulePath: string, jestWorker: HarmonyWorker<JestWorker>, logger: Logger, opts?: JestTesterOptions): JestTester",
42
+ "name": "constructor",
43
+ "params": [
44
+ {
45
+ "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "jest.tester.ts",
48
48
  "line": 43,
49
- "character": 18
49
+ "character": 5
50
50
  },
51
- "name": "string"
52
- },
53
- "isOptional": false,
54
- "isSpread": false
55
- },
56
- {
57
- "__schema": "ParameterSchema",
58
- "location": {
59
- "filePath": "jest.tester.ts",
60
- "line": 44,
61
- "character": 5
51
+ "name": "id",
52
+ "type": {
53
+ "__schema": "KeywordTypeSchema",
54
+ "location": {
55
+ "filePath": "jest.tester.ts",
56
+ "line": 43,
57
+ "character": 18
58
+ },
59
+ "name": "string"
60
+ },
61
+ "isOptional": false,
62
+ "isSpread": false
62
63
  },
63
- "name": "jestConfig",
64
- "type": {
65
- "__schema": "KeywordTypeSchema",
64
+ {
65
+ "__schema": "ParameterSchema",
66
66
  "location": {
67
67
  "filePath": "jest.tester.ts",
68
68
  "line": 44,
69
- "character": 26
69
+ "character": 5
70
70
  },
71
- "name": "any"
72
- },
73
- "isOptional": false,
74
- "isSpread": false
75
- },
76
- {
77
- "__schema": "ParameterSchema",
78
- "location": {
79
- "filePath": "jest.tester.ts",
80
- "line": 45,
81
- "character": 5
71
+ "name": "jestConfig",
72
+ "type": {
73
+ "__schema": "KeywordTypeSchema",
74
+ "location": {
75
+ "filePath": "jest.tester.ts",
76
+ "line": 44,
77
+ "character": 26
78
+ },
79
+ "name": "any"
80
+ },
81
+ "isOptional": false,
82
+ "isSpread": false
82
83
  },
83
- "name": "jestModulePath",
84
- "type": {
85
- "__schema": "KeywordTypeSchema",
84
+ {
85
+ "__schema": "ParameterSchema",
86
86
  "location": {
87
87
  "filePath": "jest.tester.ts",
88
88
  "line": 45,
89
- "character": 29
89
+ "character": 5
90
90
  },
91
- "name": "string"
92
- },
93
- "isOptional": false,
94
- "isSpread": false
95
- },
96
- {
97
- "__schema": "ParameterSchema",
98
- "location": {
99
- "filePath": "jest.tester.ts",
100
- "line": 46,
101
- "character": 5
91
+ "name": "jestModulePath",
92
+ "type": {
93
+ "__schema": "KeywordTypeSchema",
94
+ "location": {
95
+ "filePath": "jest.tester.ts",
96
+ "line": 45,
97
+ "character": 29
98
+ },
99
+ "name": "string"
100
+ },
101
+ "isOptional": false,
102
+ "isSpread": false
102
103
  },
103
- "name": "jestWorker",
104
- "type": {
105
- "__schema": "TypeRefSchema",
104
+ {
105
+ "__schema": "ParameterSchema",
106
106
  "location": {
107
107
  "filePath": "jest.tester.ts",
108
108
  "line": 46,
109
- "character": 25
109
+ "character": 5
110
110
  },
111
- "name": "HarmonyWorker",
112
- "componentId": {
113
- "scope": "teambit.harmony",
114
- "name": "worker"
111
+ "name": "jestWorker",
112
+ "type": {
113
+ "__schema": "TypeRefSchema",
114
+ "location": {
115
+ "filePath": "jest.tester.ts",
116
+ "line": 46,
117
+ "character": 25
118
+ },
119
+ "name": "HarmonyWorker",
120
+ "componentId": {
121
+ "scope": "teambit.harmony",
122
+ "name": "worker"
123
+ },
124
+ "typeArgs": [
125
+ {
126
+ "__schema": "TypeRefSchema",
127
+ "location": {
128
+ "filePath": "jest.tester.ts",
129
+ "line": 46,
130
+ "character": 39
131
+ },
132
+ "name": "JestWorker",
133
+ "internalFilePath": "jest.worker.ts"
134
+ }
135
+ ]
115
136
  },
116
- "typeArgs": [
117
- {
118
- "__schema": "TypeRefSchema",
119
- "location": {
120
- "filePath": "jest.tester.ts",
121
- "line": 46,
122
- "character": 39
123
- },
124
- "name": "JestWorker",
125
- "internalFilePath": "jest.worker.ts"
126
- }
127
- ]
128
- },
129
- "isOptional": false,
130
- "isSpread": false
131
- },
132
- {
133
- "__schema": "ParameterSchema",
134
- "location": {
135
- "filePath": "jest.tester.ts",
136
- "line": 47,
137
- "character": 5
137
+ "isOptional": false,
138
+ "isSpread": false
138
139
  },
139
- "name": "logger",
140
- "type": {
141
- "__schema": "TypeRefSchema",
140
+ {
141
+ "__schema": "ParameterSchema",
142
142
  "location": {
143
143
  "filePath": "jest.tester.ts",
144
144
  "line": 47,
145
- "character": 21
145
+ "character": 5
146
146
  },
147
- "name": "Logger",
148
- "componentId": {
149
- "scope": "teambit.harmony",
150
- "name": "logger"
151
- }
152
- },
153
- "isOptional": false,
154
- "isSpread": false
155
- },
156
- {
157
- "__schema": "ParameterSchema",
158
- "location": {
159
- "filePath": "jest.tester.ts",
160
- "line": 48,
161
- "character": 5
147
+ "name": "logger",
148
+ "type": {
149
+ "__schema": "TypeRefSchema",
150
+ "location": {
151
+ "filePath": "jest.tester.ts",
152
+ "line": 47,
153
+ "character": 21
154
+ },
155
+ "name": "Logger",
156
+ "componentId": {
157
+ "scope": "teambit.harmony",
158
+ "name": "logger"
159
+ }
160
+ },
161
+ "isOptional": false,
162
+ "isSpread": false
162
163
  },
163
- "name": "opts",
164
- "type": {
165
- "__schema": "TypeRefSchema",
164
+ {
165
+ "__schema": "ParameterSchema",
166
166
  "location": {
167
167
  "filePath": "jest.tester.ts",
168
168
  "line": 48,
169
- "character": 19
169
+ "character": 5
170
+ },
171
+ "name": "opts",
172
+ "type": {
173
+ "__schema": "TypeRefSchema",
174
+ "location": {
175
+ "filePath": "jest.tester.ts",
176
+ "line": 48,
177
+ "character": 19
178
+ },
179
+ "name": "JestTesterOptions",
180
+ "internalFilePath": "jest.tester.ts"
170
181
  },
171
- "name": "JestTesterOptions",
172
- "internalFilePath": "jest.tester.ts"
182
+ "isOptional": true,
183
+ "defaultValue": "{}",
184
+ "isSpread": false
185
+ }
186
+ ],
187
+ "returnType": {
188
+ "__schema": "ThisTypeSchema",
189
+ "location": {
190
+ "filePath": "jest.tester.ts",
191
+ "line": 39,
192
+ "character": 1
173
193
  },
174
- "isOptional": true,
175
- "defaultValue": "{}",
176
- "isSpread": false
177
- }
178
- ],
179
- "returnType": {
180
- "__schema": "ThisTypeSchema",
181
- "location": {
182
- "filePath": "jest.tester.ts",
183
- "line": 39,
184
- "character": 1
194
+ "name": "JestTester"
185
195
  },
186
- "name": "JestTester"
187
- },
188
- "modifiers": []
189
- },
190
- {
191
- "__schema": "VariableLikeSchema",
192
- "location": {
193
- "filePath": "jest.tester.ts",
194
- "line": 54,
195
- "character": 3
196
+ "modifiers": []
196
197
  },
197
- "signature": "(property) JestTester.configPath: any",
198
- "name": "configPath",
199
- "type": {
200
- "__schema": "InferenceTypeSchema",
198
+ {
199
+ "__schema": "VariableLikeSchema",
201
200
  "location": {
202
201
  "filePath": "jest.tester.ts",
203
202
  "line": 54,
204
203
  "character": 3
205
204
  },
206
- "type": "any"
207
- },
208
- "isOptional": true,
209
- "defaultValue": "this.jestConfig"
210
- },
211
- {
212
- "__schema": "VariableLikeSchema",
213
- "location": {
214
- "filePath": "jest.tester.ts",
215
- "line": 56,
216
- "character": 3
205
+ "signature": "(property) JestTester.configPath: any",
206
+ "name": "configPath",
207
+ "type": {
208
+ "__schema": "InferenceTypeSchema",
209
+ "location": {
210
+ "filePath": "jest.tester.ts",
211
+ "line": 54,
212
+ "character": 3
213
+ },
214
+ "type": "any"
215
+ },
216
+ "isOptional": true,
217
+ "defaultValue": "this.jestConfig"
217
218
  },
218
- "signature": "(property) JestTester.displayName: string",
219
- "name": "displayName",
220
- "type": {
221
- "__schema": "InferenceTypeSchema",
219
+ {
220
+ "__schema": "VariableLikeSchema",
222
221
  "location": {
223
222
  "filePath": "jest.tester.ts",
224
223
  "line": 56,
225
224
  "character": 3
226
225
  },
227
- "type": "string"
228
- },
229
- "isOptional": true,
230
- "defaultValue": "'Jest'"
231
- },
232
- {
233
- "__schema": "VariableLikeSchema",
234
- "location": {
235
- "filePath": "jest.tester.ts",
236
- "line": 58,
237
- "character": 3
226
+ "signature": "(property) JestTester.displayName: string",
227
+ "name": "displayName",
228
+ "type": {
229
+ "__schema": "InferenceTypeSchema",
230
+ "location": {
231
+ "filePath": "jest.tester.ts",
232
+ "line": 56,
233
+ "character": 3
234
+ },
235
+ "type": "string"
236
+ },
237
+ "isOptional": true,
238
+ "defaultValue": "'Jest'"
238
239
  },
239
- "signature": "(property) JestTester._callback: CallbackFn | undefined",
240
- "name": "_callback",
241
- "type": {
242
- "__schema": "TypeUnionSchema",
240
+ {
241
+ "__schema": "VariableLikeSchema",
243
242
  "location": {
244
243
  "filePath": "jest.tester.ts",
245
244
  "line": 58,
246
- "character": 14
245
+ "character": 3
247
246
  },
248
- "types": [
249
- {
250
- "__schema": "TypeRefSchema",
251
- "location": {
252
- "filePath": "jest.tester.ts",
253
- "line": 58,
254
- "character": 14
255
- },
256
- "name": "CallbackFn",
257
- "componentId": {
258
- "scope": "teambit.defender",
259
- "name": "tester"
260
- }
247
+ "signature": "(property) JestTester._callback: CallbackFn | undefined",
248
+ "name": "_callback",
249
+ "type": {
250
+ "__schema": "TypeUnionSchema",
251
+ "location": {
252
+ "filePath": "jest.tester.ts",
253
+ "line": 58,
254
+ "character": 14
261
255
  },
262
- {
263
- "__schema": "KeywordTypeSchema",
264
- "location": {
265
- "filePath": "jest.tester.ts",
266
- "line": 58,
267
- "character": 27
268
- },
269
- "name": "undefined"
270
- }
271
- ]
272
- },
273
- "isOptional": false
274
- },
275
- {
276
- "__schema": "FunctionLikeSchema",
277
- "location": {
278
- "filePath": "jest.tester.ts",
279
- "line": 60,
280
- "character": 3
256
+ "types": [
257
+ {
258
+ "__schema": "TypeRefSchema",
259
+ "location": {
260
+ "filePath": "jest.tester.ts",
261
+ "line": 58,
262
+ "character": 14
263
+ },
264
+ "name": "CallbackFn",
265
+ "componentId": {
266
+ "scope": "teambit.defender",
267
+ "name": "tester"
268
+ }
269
+ },
270
+ {
271
+ "__schema": "KeywordTypeSchema",
272
+ "location": {
273
+ "filePath": "jest.tester.ts",
274
+ "line": 58,
275
+ "character": 27
276
+ },
277
+ "name": "undefined"
278
+ }
279
+ ]
280
+ },
281
+ "isOptional": false
281
282
  },
282
- "signature": "(method) JestTester.displayConfig(): string",
283
- "name": "displayConfig",
284
- "params": [],
285
- "returnType": {
286
- "__schema": "InferenceTypeSchema",
283
+ {
284
+ "__schema": "FunctionLikeSchema",
287
285
  "location": {
288
286
  "filePath": "jest.tester.ts",
289
287
  "line": 60,
290
288
  "character": 3
291
289
  },
292
- "type": "string"
293
- },
294
- "modifiers": []
295
- },
296
- {
297
- "__schema": "FunctionLikeSchema",
298
- "location": {
299
- "filePath": "jest.tester.ts",
300
- "line": 64,
301
- "character": 3
290
+ "signature": "(method) JestTester.displayConfig(): string",
291
+ "name": "displayConfig",
292
+ "params": [],
293
+ "returnType": {
294
+ "__schema": "InferenceTypeSchema",
295
+ "location": {
296
+ "filePath": "jest.tester.ts",
297
+ "line": 60,
298
+ "character": 3
299
+ },
300
+ "type": "string"
301
+ },
302
+ "modifiers": []
302
303
  },
303
- "signature": "(method) JestTester.version(): any",
304
- "name": "version",
305
- "params": [],
306
- "returnType": {
307
- "__schema": "InferenceTypeSchema",
304
+ {
305
+ "__schema": "FunctionLikeSchema",
308
306
  "location": {
309
307
  "filePath": "jest.tester.ts",
310
308
  "line": 64,
311
309
  "character": 3
312
310
  },
313
- "type": "any"
314
- },
315
- "modifiers": []
316
- },
317
- {
318
- "__schema": "FunctionLikeSchema",
319
- "location": {
320
- "filePath": "jest.tester.ts",
321
- "line": 154,
322
- "character": 3
323
- },
324
- "signature": "(method) JestTester.onTestRunComplete(callback: CallbackFn): Promise<void>",
325
- "name": "onTestRunComplete",
326
- "params": [
327
- {
328
- "__schema": "ParameterSchema",
311
+ "signature": "(method) JestTester.version(): any",
312
+ "name": "version",
313
+ "params": [],
314
+ "returnType": {
315
+ "__schema": "InferenceTypeSchema",
329
316
  "location": {
330
317
  "filePath": "jest.tester.ts",
331
- "line": 154,
332
- "character": 27
333
- },
334
- "name": "callback",
335
- "type": {
336
- "__schema": "TypeRefSchema",
337
- "location": {
338
- "filePath": "jest.tester.ts",
339
- "line": 154,
340
- "character": 37
341
- },
342
- "name": "CallbackFn",
343
- "componentId": {
344
- "scope": "teambit.defender",
345
- "name": "tester"
346
- }
318
+ "line": 64,
319
+ "character": 3
347
320
  },
348
- "isOptional": false,
349
- "isSpread": false
350
- }
351
- ],
352
- "returnType": {
353
- "__schema": "InferenceTypeSchema",
321
+ "type": "any"
322
+ },
323
+ "modifiers": []
324
+ },
325
+ {
326
+ "__schema": "FunctionLikeSchema",
354
327
  "location": {
355
328
  "filePath": "jest.tester.ts",
356
329
  "line": 154,
357
330
  "character": 3
358
331
  },
359
- "type": "Promise<void>"
360
- },
361
- "modifiers": [
362
- "async"
363
- ]
364
- },
365
- {
366
- "__schema": "FunctionLikeSchema",
367
- "location": {
368
- "filePath": "jest.tester.ts",
369
- "line": 158,
370
- "character": 3
371
- },
372
- "signature": "(method) JestTester.test(context: TesterContext): Promise<Tests>",
373
- "name": "test",
374
- "params": [
375
- {
376
- "__schema": "ParameterSchema",
377
- "location": {
378
- "filePath": "jest.tester.ts",
379
- "line": 158,
380
- "character": 14
381
- },
382
- "name": "context",
383
- "type": {
384
- "__schema": "TypeRefSchema",
332
+ "signature": "(method) JestTester.onTestRunComplete(callback: CallbackFn): Promise<void>",
333
+ "name": "onTestRunComplete",
334
+ "params": [
335
+ {
336
+ "__schema": "ParameterSchema",
385
337
  "location": {
386
338
  "filePath": "jest.tester.ts",
387
- "line": 158,
388
- "character": 23
339
+ "line": 154,
340
+ "character": 27
389
341
  },
390
- "name": "TesterContext",
391
- "componentId": {
392
- "scope": "teambit.defender",
393
- "name": "tester"
394
- }
342
+ "name": "callback",
343
+ "type": {
344
+ "__schema": "TypeRefSchema",
345
+ "location": {
346
+ "filePath": "jest.tester.ts",
347
+ "line": 154,
348
+ "character": 37
349
+ },
350
+ "name": "CallbackFn",
351
+ "componentId": {
352
+ "scope": "teambit.defender",
353
+ "name": "tester"
354
+ }
355
+ },
356
+ "isOptional": false,
357
+ "isSpread": false
358
+ }
359
+ ],
360
+ "returnType": {
361
+ "__schema": "InferenceTypeSchema",
362
+ "location": {
363
+ "filePath": "jest.tester.ts",
364
+ "line": 154,
365
+ "character": 3
395
366
  },
396
- "isOptional": false,
397
- "isSpread": false
398
- }
399
- ],
400
- "returnType": {
401
- "__schema": "TypeRefSchema",
367
+ "type": "Promise<void>"
368
+ },
369
+ "modifiers": [
370
+ "async"
371
+ ]
372
+ },
373
+ {
374
+ "__schema": "FunctionLikeSchema",
402
375
  "location": {
403
376
  "filePath": "jest.tester.ts",
404
377
  "line": 158,
405
- "character": 39
378
+ "character": 3
406
379
  },
407
- "name": "Promise",
408
- "typeArgs": [
380
+ "signature": "(method) JestTester.test(context: TesterContext): Promise<Tests>",
381
+ "name": "test",
382
+ "params": [
409
383
  {
410
- "__schema": "TypeRefSchema",
384
+ "__schema": "ParameterSchema",
411
385
  "location": {
412
386
  "filePath": "jest.tester.ts",
413
387
  "line": 158,
414
- "character": 47
388
+ "character": 14
415
389
  },
416
- "name": "Tests",
417
- "componentId": {
418
- "scope": "teambit.defender",
419
- "name": "tester"
420
- }
390
+ "name": "context",
391
+ "type": {
392
+ "__schema": "TypeRefSchema",
393
+ "location": {
394
+ "filePath": "jest.tester.ts",
395
+ "line": 158,
396
+ "character": 23
397
+ },
398
+ "name": "TesterContext",
399
+ "componentId": {
400
+ "scope": "teambit.defender",
401
+ "name": "tester"
402
+ }
403
+ },
404
+ "isOptional": false,
405
+ "isSpread": false
421
406
  }
422
- ]
423
- },
424
- "modifiers": [
425
- "async"
426
- ]
427
- },
428
- {
429
- "__schema": "FunctionLikeSchema",
430
- "location": {
431
- "filePath": "jest.tester.ts",
432
- "line": 226,
433
- "character": 3
434
- },
435
- "signature": "(method) JestTester.watch(context: TesterContext): Promise<Tests>",
436
- "name": "watch",
437
- "params": [
438
- {
439
- "__schema": "ParameterSchema",
407
+ ],
408
+ "returnType": {
409
+ "__schema": "TypeRefSchema",
440
410
  "location": {
441
411
  "filePath": "jest.tester.ts",
442
- "line": 226,
443
- "character": 15
412
+ "line": 158,
413
+ "character": 39
444
414
  },
445
- "name": "context",
446
- "type": {
447
- "__schema": "TypeRefSchema",
448
- "location": {
449
- "filePath": "jest.tester.ts",
450
- "line": 226,
451
- "character": 24
452
- },
453
- "name": "TesterContext",
454
- "componentId": {
455
- "scope": "teambit.defender",
456
- "name": "tester"
415
+ "name": "Promise",
416
+ "typeArgs": [
417
+ {
418
+ "__schema": "TypeRefSchema",
419
+ "location": {
420
+ "filePath": "jest.tester.ts",
421
+ "line": 158,
422
+ "character": 47
423
+ },
424
+ "name": "Tests",
425
+ "componentId": {
426
+ "scope": "teambit.defender",
427
+ "name": "tester"
428
+ }
457
429
  }
458
- },
459
- "isOptional": false,
460
- "isSpread": false
461
- }
462
- ],
463
- "returnType": {
464
- "__schema": "TypeRefSchema",
430
+ ]
431
+ },
432
+ "modifiers": [
433
+ "async"
434
+ ]
435
+ },
436
+ {
437
+ "__schema": "FunctionLikeSchema",
465
438
  "location": {
466
439
  "filePath": "jest.tester.ts",
467
440
  "line": 226,
468
- "character": 40
441
+ "character": 3
469
442
  },
470
- "name": "Promise",
471
- "typeArgs": [
443
+ "signature": "(method) JestTester.watch(context: TesterContext): Promise<Tests>",
444
+ "name": "watch",
445
+ "params": [
472
446
  {
473
- "__schema": "TypeRefSchema",
447
+ "__schema": "ParameterSchema",
474
448
  "location": {
475
449
  "filePath": "jest.tester.ts",
476
450
  "line": 226,
477
- "character": 48
451
+ "character": 15
478
452
  },
479
- "name": "Tests",
480
- "componentId": {
481
- "scope": "teambit.defender",
482
- "name": "tester"
483
- }
453
+ "name": "context",
454
+ "type": {
455
+ "__schema": "TypeRefSchema",
456
+ "location": {
457
+ "filePath": "jest.tester.ts",
458
+ "line": 226,
459
+ "character": 24
460
+ },
461
+ "name": "TesterContext",
462
+ "componentId": {
463
+ "scope": "teambit.defender",
464
+ "name": "tester"
465
+ }
466
+ },
467
+ "isOptional": false,
468
+ "isSpread": false
484
469
  }
470
+ ],
471
+ "returnType": {
472
+ "__schema": "TypeRefSchema",
473
+ "location": {
474
+ "filePath": "jest.tester.ts",
475
+ "line": 226,
476
+ "character": 40
477
+ },
478
+ "name": "Promise",
479
+ "typeArgs": [
480
+ {
481
+ "__schema": "TypeRefSchema",
482
+ "location": {
483
+ "filePath": "jest.tester.ts",
484
+ "line": 226,
485
+ "character": 48
486
+ },
487
+ "name": "Tests",
488
+ "componentId": {
489
+ "scope": "teambit.defender",
490
+ "name": "tester"
491
+ }
492
+ }
493
+ ]
494
+ },
495
+ "modifiers": [
496
+ "async"
485
497
  ]
486
- },
487
- "modifiers": [
488
- "async"
489
- ]
490
- }
491
- ],
492
- "extendsNodes": [],
493
- "implementNodes": [
494
- {
495
- "__schema": "ExpressionWithTypeArgumentsSchema",
496
- "location": {
497
- "filePath": "jest.tester.ts",
498
- "line": 39,
499
- "character": 36
500
- },
501
- "name": "implements Tester",
502
- "typeArgs": [],
503
- "expression": {
504
- "__schema": "TypeRefSchema",
498
+ }
499
+ ],
500
+ "extendsNodes": [],
501
+ "implementNodes": [
502
+ {
503
+ "__schema": "ExpressionWithTypeArgumentsSchema",
505
504
  "location": {
506
505
  "filePath": "jest.tester.ts",
507
506
  "line": 39,
508
507
  "character": 36
509
508
  },
510
- "name": "Tester",
511
- "componentId": {
512
- "_legacy": {
513
- "scope": "teambit.defender",
514
- "name": "jest",
515
- "version": "1.0.257"
509
+ "name": "implements Tester",
510
+ "typeArgs": [],
511
+ "expression": {
512
+ "__schema": "TypeRefSchema",
513
+ "location": {
514
+ "filePath": "jest.tester.ts",
515
+ "line": 39,
516
+ "character": 36
516
517
  },
517
- "_scope": "teambit.defender"
518
+ "name": "Tester",
519
+ "componentId": {
520
+ "_legacy": {
521
+ "scope": "teambit.defender",
522
+ "name": "jest",
523
+ "version": "1.0.259"
524
+ },
525
+ "_scope": "teambit.defender"
526
+ }
518
527
  }
519
528
  }
520
- }
521
- ]
529
+ ]
530
+ }
522
531
  },
523
532
  {
524
- "__schema": "ClassSchema",
533
+ "__schema": "ExportSchema",
525
534
  "location": {
526
- "filePath": "jest.main.runtime.ts",
527
- "line": 10,
528
- "character": 1
535
+ "filePath": "index.ts",
536
+ "line": 2,
537
+ "character": 15
529
538
  },
530
- "signature": "class JestMain",
531
539
  "name": "JestMain",
532
- "members": [
533
- {
534
- "__schema": "ConstructorSchema",
535
- "location": {
536
- "filePath": "jest.main.runtime.ts",
537
- "line": 11,
538
- "character": 3
539
- },
540
- "signature": "constructor JestMain(jestWorker: HarmonyWorker<JestWorker>, logger: Logger): JestMain",
541
- "name": "constructor",
542
- "params": [
543
- {
544
- "__schema": "ParameterSchema",
545
- "location": {
546
- "filePath": "jest.main.runtime.ts",
547
- "line": 11,
548
- "character": 15
549
- },
550
- "name": "jestWorker",
551
- "type": {
552
- "__schema": "TypeRefSchema",
540
+ "exportNode": {
541
+ "__schema": "ClassSchema",
542
+ "location": {
543
+ "filePath": "jest.main.runtime.ts",
544
+ "line": 10,
545
+ "character": 1
546
+ },
547
+ "signature": "class JestMain",
548
+ "name": "JestMain",
549
+ "members": [
550
+ {
551
+ "__schema": "ConstructorSchema",
552
+ "location": {
553
+ "filePath": "jest.main.runtime.ts",
554
+ "line": 11,
555
+ "character": 3
556
+ },
557
+ "signature": "constructor JestMain(jestWorker: HarmonyWorker<JestWorker>, logger: Logger): JestMain",
558
+ "name": "constructor",
559
+ "params": [
560
+ {
561
+ "__schema": "ParameterSchema",
553
562
  "location": {
554
563
  "filePath": "jest.main.runtime.ts",
555
564
  "line": 11,
556
- "character": 35
565
+ "character": 15
566
+ },
567
+ "name": "jestWorker",
568
+ "type": {
569
+ "__schema": "TypeRefSchema",
570
+ "location": {
571
+ "filePath": "jest.main.runtime.ts",
572
+ "line": 11,
573
+ "character": 35
574
+ },
575
+ "name": "HarmonyWorker",
576
+ "componentId": {
577
+ "scope": "teambit.harmony",
578
+ "name": "worker"
579
+ },
580
+ "typeArgs": [
581
+ {
582
+ "__schema": "TypeRefSchema",
583
+ "location": {
584
+ "filePath": "jest.main.runtime.ts",
585
+ "line": 11,
586
+ "character": 49
587
+ },
588
+ "name": "JestWorker",
589
+ "internalFilePath": "jest.worker.ts"
590
+ }
591
+ ]
557
592
  },
558
- "name": "HarmonyWorker",
559
- "componentId": {
560
- "scope": "teambit.harmony",
561
- "name": "worker"
593
+ "isOptional": false,
594
+ "isSpread": false
595
+ },
596
+ {
597
+ "__schema": "ParameterSchema",
598
+ "location": {
599
+ "filePath": "jest.main.runtime.ts",
600
+ "line": 11,
601
+ "character": 62
562
602
  },
563
- "typeArgs": [
564
- {
565
- "__schema": "TypeRefSchema",
566
- "location": {
567
- "filePath": "jest.main.runtime.ts",
568
- "line": 11,
569
- "character": 49
570
- },
571
- "name": "JestWorker",
572
- "internalFilePath": "jest.worker.ts"
603
+ "name": "logger",
604
+ "type": {
605
+ "__schema": "TypeRefSchema",
606
+ "location": {
607
+ "filePath": "jest.main.runtime.ts",
608
+ "line": 11,
609
+ "character": 78
610
+ },
611
+ "name": "Logger",
612
+ "componentId": {
613
+ "scope": "teambit.harmony",
614
+ "name": "logger"
573
615
  }
574
- ]
575
- },
576
- "isOptional": false,
577
- "isSpread": false
578
- },
579
- {
580
- "__schema": "ParameterSchema",
616
+ },
617
+ "isOptional": false,
618
+ "isSpread": false
619
+ }
620
+ ],
621
+ "returnType": {
622
+ "__schema": "ThisTypeSchema",
581
623
  "location": {
582
624
  "filePath": "jest.main.runtime.ts",
583
- "line": 11,
584
- "character": 62
585
- },
586
- "name": "logger",
587
- "type": {
588
- "__schema": "TypeRefSchema",
589
- "location": {
590
- "filePath": "jest.main.runtime.ts",
591
- "line": 11,
592
- "character": 78
593
- },
594
- "name": "Logger",
595
- "componentId": {
596
- "scope": "teambit.harmony",
597
- "name": "logger"
598
- }
625
+ "line": 10,
626
+ "character": 1
599
627
  },
600
- "isOptional": false,
601
- "isSpread": false
602
- }
603
- ],
604
- "returnType": {
605
- "__schema": "ThisTypeSchema",
628
+ "name": "JestMain"
629
+ },
630
+ "modifiers": []
631
+ },
632
+ {
633
+ "__schema": "FunctionLikeSchema",
606
634
  "location": {
607
635
  "filePath": "jest.main.runtime.ts",
608
- "line": 10,
609
- "character": 1
636
+ "line": 13,
637
+ "character": 3
610
638
  },
611
- "name": "JestMain"
612
- },
613
- "modifiers": []
614
- },
615
- {
616
- "__schema": "FunctionLikeSchema",
617
- "location": {
618
- "filePath": "jest.main.runtime.ts",
619
- "line": 13,
620
- "character": 3
621
- },
622
- "signature": "(method) JestMain.createTester(jestConfig: any, jestModulePath?: string, opts?: JestTesterOptions): JestTester",
623
- "name": "createTester",
624
- "params": [
625
- {
626
- "__schema": "ParameterSchema",
627
- "location": {
628
- "filePath": "jest.main.runtime.ts",
629
- "line": 13,
630
- "character": 16
631
- },
632
- "name": "jestConfig",
633
- "type": {
634
- "__schema": "KeywordTypeSchema",
639
+ "signature": "(method) JestMain.createTester(jestConfig: any, jestModulePath?: string, opts?: JestTesterOptions): JestTester",
640
+ "name": "createTester",
641
+ "params": [
642
+ {
643
+ "__schema": "ParameterSchema",
635
644
  "location": {
636
645
  "filePath": "jest.main.runtime.ts",
637
646
  "line": 13,
638
- "character": 28
647
+ "character": 16
639
648
  },
640
- "name": "any"
641
- },
642
- "isOptional": false,
643
- "isSpread": false
644
- },
645
- {
646
- "__schema": "ParameterSchema",
647
- "location": {
648
- "filePath": "jest.main.runtime.ts",
649
- "line": 13,
650
- "character": 33
649
+ "name": "jestConfig",
650
+ "type": {
651
+ "__schema": "KeywordTypeSchema",
652
+ "location": {
653
+ "filePath": "jest.main.runtime.ts",
654
+ "line": 13,
655
+ "character": 28
656
+ },
657
+ "name": "any"
658
+ },
659
+ "isOptional": false,
660
+ "isSpread": false
651
661
  },
652
- "name": "jestModulePath",
653
- "type": {
654
- "__schema": "InferenceTypeSchema",
662
+ {
663
+ "__schema": "ParameterSchema",
655
664
  "location": {
656
665
  "filePath": "jest.main.runtime.ts",
657
666
  "line": 13,
658
667
  "character": 33
659
668
  },
660
- "type": "string"
661
- },
662
- "isOptional": true,
663
- "defaultValue": "require.resolve('jest')",
664
- "isSpread": false
665
- },
666
- {
667
- "__schema": "ParameterSchema",
668
- "location": {
669
- "filePath": "jest.main.runtime.ts",
670
- "line": 13,
671
- "character": 75
669
+ "name": "jestModulePath",
670
+ "type": {
671
+ "__schema": "InferenceTypeSchema",
672
+ "location": {
673
+ "filePath": "jest.main.runtime.ts",
674
+ "line": 13,
675
+ "character": 33
676
+ },
677
+ "type": "string"
678
+ },
679
+ "isOptional": true,
680
+ "defaultValue": "require.resolve('jest')",
681
+ "isSpread": false
672
682
  },
673
- "name": "opts",
674
- "type": {
675
- "__schema": "TypeRefSchema",
683
+ {
684
+ "__schema": "ParameterSchema",
676
685
  "location": {
677
686
  "filePath": "jest.main.runtime.ts",
678
687
  "line": 13,
679
- "character": 82
688
+ "character": 75
689
+ },
690
+ "name": "opts",
691
+ "type": {
692
+ "__schema": "TypeRefSchema",
693
+ "location": {
694
+ "filePath": "jest.main.runtime.ts",
695
+ "line": 13,
696
+ "character": 82
697
+ },
698
+ "name": "JestTesterOptions",
699
+ "internalFilePath": "jest.tester.ts"
680
700
  },
681
- "name": "JestTesterOptions",
682
- "internalFilePath": "jest.tester.ts"
701
+ "isOptional": true,
702
+ "isSpread": false
703
+ }
704
+ ],
705
+ "returnType": {
706
+ "__schema": "TypeRefSchema",
707
+ "location": {
708
+ "filePath": "jest.main.runtime.ts",
709
+ "line": 13,
710
+ "character": 3
683
711
  },
684
- "isOptional": true,
685
- "isSpread": false
686
- }
687
- ],
688
- "returnType": {
689
- "__schema": "TypeRefSchema",
690
- "location": {
691
- "filePath": "jest.main.runtime.ts",
692
- "line": 13,
693
- "character": 3
712
+ "name": "JestTester"
694
713
  },
695
- "name": "JestTester"
696
- },
697
- "modifiers": []
698
- },
699
- {
700
- "__schema": "VariableLikeSchema",
701
- "location": {
702
- "filePath": "jest.main.runtime.ts",
703
- "line": 17,
704
- "character": 3
714
+ "modifiers": []
705
715
  },
706
- "signature": "(property) JestMain.runtime: RuntimeDefinition",
707
- "name": "runtime",
708
- "type": {
709
- "__schema": "InferenceTypeSchema",
716
+ {
717
+ "__schema": "VariableLikeSchema",
710
718
  "location": {
711
719
  "filePath": "jest.main.runtime.ts",
712
720
  "line": 17,
713
721
  "character": 3
714
722
  },
715
- "type": "RuntimeDefinition"
716
- },
717
- "isOptional": true,
718
- "defaultValue": "MainRuntime"
719
- },
720
- {
721
- "__schema": "VariableLikeSchema",
722
- "location": {
723
- "filePath": "jest.main.runtime.ts",
724
- "line": 18,
725
- "character": 3
723
+ "signature": "(property) JestMain.runtime: RuntimeDefinition",
724
+ "name": "runtime",
725
+ "type": {
726
+ "__schema": "InferenceTypeSchema",
727
+ "location": {
728
+ "filePath": "jest.main.runtime.ts",
729
+ "line": 17,
730
+ "character": 3
731
+ },
732
+ "type": "RuntimeDefinition"
733
+ },
734
+ "isOptional": true,
735
+ "defaultValue": "MainRuntime"
726
736
  },
727
- "signature": "(property) JestMain.dependencies: Aspect[]",
728
- "name": "dependencies",
729
- "type": {
730
- "__schema": "InferenceTypeSchema",
737
+ {
738
+ "__schema": "VariableLikeSchema",
731
739
  "location": {
732
740
  "filePath": "jest.main.runtime.ts",
733
741
  "line": 18,
734
742
  "character": 3
735
743
  },
736
- "type": "Aspect[]"
737
- },
738
- "isOptional": true,
739
- "defaultValue": "[WorkerAspect, LoggerAspect]"
740
- },
741
- {
742
- "__schema": "FunctionLikeSchema",
743
- "location": {
744
- "filePath": "jest.main.runtime.ts",
745
- "line": 20,
746
- "character": 3
747
- },
748
- "signature": "(method) JestMain.provider([worker, loggerAspect]: [WorkerMain, LoggerMain]): Promise<JestMain>",
749
- "name": "provider",
750
- "params": [
751
- {
752
- "__schema": "ParameterSchema",
744
+ "signature": "(property) JestMain.dependencies: Aspect[]",
745
+ "name": "dependencies",
746
+ "type": {
747
+ "__schema": "InferenceTypeSchema",
753
748
  "location": {
754
749
  "filePath": "jest.main.runtime.ts",
755
- "line": 20,
756
- "character": 25
750
+ "line": 18,
751
+ "character": 3
757
752
  },
758
- "name": "[ worker, loggerAspect ]",
759
- "type": {
760
- "__schema": "TupleTypeSchema",
753
+ "type": "Aspect[]"
754
+ },
755
+ "isOptional": true,
756
+ "defaultValue": "[WorkerAspect, LoggerAspect]"
757
+ },
758
+ {
759
+ "__schema": "FunctionLikeSchema",
760
+ "location": {
761
+ "filePath": "jest.main.runtime.ts",
762
+ "line": 20,
763
+ "character": 3
764
+ },
765
+ "signature": "(method) JestMain.provider([worker, loggerAspect]: [WorkerMain, LoggerMain]): Promise<JestMain>",
766
+ "name": "provider",
767
+ "params": [
768
+ {
769
+ "__schema": "ParameterSchema",
761
770
  "location": {
762
771
  "filePath": "jest.main.runtime.ts",
763
772
  "line": 20,
764
- "character": 49
773
+ "character": 25
765
774
  },
766
- "elements": [
767
- {
768
- "__schema": "TypeRefSchema",
769
- "location": {
770
- "filePath": "jest.main.runtime.ts",
771
- "line": 20,
772
- "character": 50
773
- },
774
- "name": "WorkerMain",
775
- "componentId": {
776
- "scope": "teambit.harmony",
777
- "name": "worker"
778
- }
775
+ "name": "[ worker, loggerAspect ]",
776
+ "type": {
777
+ "__schema": "TupleTypeSchema",
778
+ "location": {
779
+ "filePath": "jest.main.runtime.ts",
780
+ "line": 20,
781
+ "character": 49
779
782
  },
780
- {
781
- "__schema": "TypeRefSchema",
782
- "location": {
783
- "filePath": "jest.main.runtime.ts",
784
- "line": 20,
785
- "character": 62
783
+ "elements": [
784
+ {
785
+ "__schema": "TypeRefSchema",
786
+ "location": {
787
+ "filePath": "jest.main.runtime.ts",
788
+ "line": 20,
789
+ "character": 50
790
+ },
791
+ "name": "WorkerMain",
792
+ "componentId": {
793
+ "scope": "teambit.harmony",
794
+ "name": "worker"
795
+ }
786
796
  },
787
- "name": "LoggerMain",
788
- "componentId": {
789
- "scope": "teambit.harmony",
790
- "name": "logger"
797
+ {
798
+ "__schema": "TypeRefSchema",
799
+ "location": {
800
+ "filePath": "jest.main.runtime.ts",
801
+ "line": 20,
802
+ "character": 62
803
+ },
804
+ "name": "LoggerMain",
805
+ "componentId": {
806
+ "scope": "teambit.harmony",
807
+ "name": "logger"
808
+ }
791
809
  }
792
- }
793
- ]
810
+ ]
811
+ },
812
+ "isOptional": false,
813
+ "isSpread": false
814
+ }
815
+ ],
816
+ "returnType": {
817
+ "__schema": "InferenceTypeSchema",
818
+ "location": {
819
+ "filePath": "jest.main.runtime.ts",
820
+ "line": 20,
821
+ "character": 3
794
822
  },
795
- "isOptional": false,
796
- "isSpread": false
797
- }
798
- ],
799
- "returnType": {
800
- "__schema": "InferenceTypeSchema",
801
- "location": {
802
- "filePath": "jest.main.runtime.ts",
803
- "line": 20,
804
- "character": 3
823
+ "type": "Promise<JestMain>"
805
824
  },
806
- "type": "Promise<JestMain>"
807
- },
808
- "modifiers": [
809
- "static",
810
- "async"
811
- ]
812
- }
813
- ],
814
- "extendsNodes": [],
815
- "implementNodes": []
825
+ "modifiers": [
826
+ "static",
827
+ "async"
828
+ ]
829
+ }
830
+ ],
831
+ "extendsNodes": [],
832
+ "implementNodes": []
833
+ }
816
834
  },
817
835
  {
818
- "__schema": "VariableLikeSchema",
836
+ "__schema": "ExportSchema",
819
837
  "location": {
820
- "filePath": "jest.aspect.ts",
838
+ "filePath": "index.ts",
821
839
  "line": 3,
822
- "character": 14
840
+ "character": 10
823
841
  },
824
- "signature": "const JestAspect: Aspect",
825
842
  "name": "JestAspect",
826
- "type": {
827
- "__schema": "TypeRefSchema",
843
+ "exportNode": {
844
+ "__schema": "VariableLikeSchema",
828
845
  "location": {
829
846
  "filePath": "jest.aspect.ts",
830
847
  "line": 3,
831
848
  "character": 14
832
849
  },
833
- "name": "Aspect",
834
- "componentId": {
835
- "scope": "teambit.harmony",
836
- "name": "harmony",
837
- "version": "0.4.6"
838
- }
839
- },
840
- "isOptional": false,
841
- "defaultValue": "Aspect.create({\n id: 'teambit.defender/jest',\n})"
850
+ "signature": "const JestAspect: Aspect",
851
+ "name": "JestAspect",
852
+ "type": {
853
+ "__schema": "TypeRefSchema",
854
+ "location": {
855
+ "filePath": "jest.aspect.ts",
856
+ "line": 3,
857
+ "character": 14
858
+ },
859
+ "name": "Aspect",
860
+ "componentId": {
861
+ "scope": "teambit.harmony",
862
+ "name": "harmony",
863
+ "version": "0.4.6"
864
+ }
865
+ },
866
+ "isOptional": false,
867
+ "defaultValue": "Aspect.create({\n id: 'teambit.defender/jest',\n})"
868
+ }
842
869
  }
843
870
  ],
844
871
  "internals": []
@@ -1546,7 +1573,7 @@
1546
1573
  "_legacy": {
1547
1574
  "scope": "teambit.defender",
1548
1575
  "name": "jest",
1549
- "version": "1.0.257"
1576
+ "version": "1.0.259"
1550
1577
  },
1551
1578
  "_scope": "teambit.defender"
1552
1579
  }
@@ -1935,7 +1962,7 @@
1935
1962
  "componentId": {
1936
1963
  "scope": "teambit.defender",
1937
1964
  "name": "jest",
1938
- "version": "1.0.257"
1965
+ "version": "1.0.259"
1939
1966
  },
1940
1967
  "taggedModuleExports": []
1941
1968
  }