@teambit/jest 1.0.187 → 1.0.188

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.
@@ -1,1829 +0,0 @@
1
- {
2
- "__schema": "APISchema",
3
- "location": {
4
- "filePath": "index.ts",
5
- "line": 1,
6
- "character": 1
7
- },
8
- "module": {
9
- "__schema": "ModuleSchema",
10
- "location": {
11
- "filePath": "index.ts",
12
- "line": 1,
13
- "character": 1
14
- },
15
- "exports": [
16
- {
17
- "__schema": "ClassSchema",
18
- "location": {
19
- "filePath": "jest.tester.ts",
20
- "line": 39,
21
- "character": 1
22
- },
23
- "signature": "class JestTester",
24
- "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",
46
- "location": {
47
- "filePath": "jest.tester.ts",
48
- "line": 43,
49
- "character": 18
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
62
- },
63
- "name": "jestConfig",
64
- "type": {
65
- "__schema": "KeywordTypeSchema",
66
- "location": {
67
- "filePath": "jest.tester.ts",
68
- "line": 44,
69
- "character": 26
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
82
- },
83
- "name": "jestModulePath",
84
- "type": {
85
- "__schema": "KeywordTypeSchema",
86
- "location": {
87
- "filePath": "jest.tester.ts",
88
- "line": 45,
89
- "character": 29
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
102
- },
103
- "name": "jestWorker",
104
- "type": {
105
- "__schema": "TypeRefSchema",
106
- "location": {
107
- "filePath": "jest.tester.ts",
108
- "line": 46,
109
- "character": 25
110
- },
111
- "name": "HarmonyWorker",
112
- "typeArgs": [
113
- {
114
- "__schema": "TypeRefSchema",
115
- "location": {
116
- "filePath": "jest.tester.ts",
117
- "line": 46,
118
- "character": 39
119
- },
120
- "name": "JestWorker"
121
- }
122
- ]
123
- },
124
- "isOptional": false,
125
- "isSpread": false
126
- },
127
- {
128
- "__schema": "ParameterSchema",
129
- "location": {
130
- "filePath": "jest.tester.ts",
131
- "line": 47,
132
- "character": 5
133
- },
134
- "name": "logger",
135
- "type": {
136
- "__schema": "TypeRefSchema",
137
- "location": {
138
- "filePath": "jest.tester.ts",
139
- "line": 47,
140
- "character": 21
141
- },
142
- "name": "Logger"
143
- },
144
- "isOptional": false,
145
- "isSpread": false
146
- },
147
- {
148
- "__schema": "ParameterSchema",
149
- "location": {
150
- "filePath": "jest.tester.ts",
151
- "line": 48,
152
- "character": 5
153
- },
154
- "name": "opts",
155
- "type": {
156
- "__schema": "TypeRefSchema",
157
- "location": {
158
- "filePath": "jest.tester.ts",
159
- "line": 48,
160
- "character": 19
161
- },
162
- "name": "JestTesterOptions"
163
- },
164
- "isOptional": true,
165
- "defaultValue": "{}",
166
- "isSpread": false
167
- }
168
- ],
169
- "returnType": {
170
- "__schema": "ThisTypeSchema",
171
- "location": {
172
- "filePath": "jest.tester.ts",
173
- "line": 39,
174
- "character": 1
175
- },
176
- "name": "JestTester"
177
- },
178
- "modifiers": []
179
- },
180
- {
181
- "__schema": "VariableLikeSchema",
182
- "location": {
183
- "filePath": "jest.tester.ts",
184
- "line": 54,
185
- "character": 3
186
- },
187
- "signature": "(property) JestTester.configPath: any",
188
- "name": "configPath",
189
- "type": {
190
- "__schema": "InferenceTypeSchema",
191
- "location": {
192
- "filePath": "jest.tester.ts",
193
- "line": 54,
194
- "character": 3
195
- },
196
- "type": "any"
197
- },
198
- "isOptional": true,
199
- "defaultValue": "this.jestConfig"
200
- },
201
- {
202
- "__schema": "VariableLikeSchema",
203
- "location": {
204
- "filePath": "jest.tester.ts",
205
- "line": 56,
206
- "character": 3
207
- },
208
- "signature": "(property) JestTester.displayName: string",
209
- "name": "displayName",
210
- "type": {
211
- "__schema": "InferenceTypeSchema",
212
- "location": {
213
- "filePath": "jest.tester.ts",
214
- "line": 56,
215
- "character": 3
216
- },
217
- "type": "string"
218
- },
219
- "isOptional": true,
220
- "defaultValue": "'Jest'"
221
- },
222
- {
223
- "__schema": "VariableLikeSchema",
224
- "location": {
225
- "filePath": "jest.tester.ts",
226
- "line": 58,
227
- "character": 3
228
- },
229
- "signature": "(property) JestTester._callback: CallbackFn | undefined",
230
- "name": "_callback",
231
- "type": {
232
- "__schema": "TypeUnionSchema",
233
- "location": {
234
- "filePath": "jest.tester.ts",
235
- "line": 58,
236
- "character": 14
237
- },
238
- "types": [
239
- {
240
- "__schema": "TypeRefSchema",
241
- "location": {
242
- "filePath": "jest.tester.ts",
243
- "line": 58,
244
- "character": 14
245
- },
246
- "name": "CallbackFn"
247
- },
248
- {
249
- "__schema": "KeywordTypeSchema",
250
- "location": {
251
- "filePath": "jest.tester.ts",
252
- "line": 58,
253
- "character": 27
254
- },
255
- "name": "undefined"
256
- }
257
- ]
258
- },
259
- "isOptional": false
260
- },
261
- {
262
- "__schema": "FunctionLikeSchema",
263
- "location": {
264
- "filePath": "jest.tester.ts",
265
- "line": 60,
266
- "character": 3
267
- },
268
- "signature": "(method) JestTester.displayConfig(): string",
269
- "name": "displayConfig",
270
- "params": [],
271
- "returnType": {
272
- "__schema": "InferenceTypeSchema",
273
- "location": {
274
- "filePath": "jest.tester.ts",
275
- "line": 60,
276
- "character": 3
277
- },
278
- "type": "string"
279
- },
280
- "modifiers": []
281
- },
282
- {
283
- "__schema": "FunctionLikeSchema",
284
- "location": {
285
- "filePath": "jest.tester.ts",
286
- "line": 64,
287
- "character": 3
288
- },
289
- "signature": "(method) JestTester.version(): any",
290
- "name": "version",
291
- "params": [],
292
- "returnType": {
293
- "__schema": "InferenceTypeSchema",
294
- "location": {
295
- "filePath": "jest.tester.ts",
296
- "line": 64,
297
- "character": 3
298
- },
299
- "type": "any"
300
- },
301
- "modifiers": []
302
- },
303
- {
304
- "__schema": "FunctionLikeSchema",
305
- "location": {
306
- "filePath": "jest.tester.ts",
307
- "line": 154,
308
- "character": 3
309
- },
310
- "signature": "(method) JestTester.onTestRunComplete(callback: CallbackFn): Promise<void>",
311
- "name": "onTestRunComplete",
312
- "params": [
313
- {
314
- "__schema": "ParameterSchema",
315
- "location": {
316
- "filePath": "jest.tester.ts",
317
- "line": 154,
318
- "character": 27
319
- },
320
- "name": "callback",
321
- "type": {
322
- "__schema": "TypeRefSchema",
323
- "location": {
324
- "filePath": "jest.tester.ts",
325
- "line": 154,
326
- "character": 37
327
- },
328
- "name": "CallbackFn"
329
- },
330
- "isOptional": false,
331
- "isSpread": false
332
- }
333
- ],
334
- "returnType": {
335
- "__schema": "InferenceTypeSchema",
336
- "location": {
337
- "filePath": "jest.tester.ts",
338
- "line": 154,
339
- "character": 3
340
- },
341
- "type": "Promise<void>"
342
- },
343
- "modifiers": [
344
- "async"
345
- ]
346
- },
347
- {
348
- "__schema": "FunctionLikeSchema",
349
- "location": {
350
- "filePath": "jest.tester.ts",
351
- "line": 158,
352
- "character": 3
353
- },
354
- "signature": "(method) JestTester.test(context: TesterContext): Promise<Tests>",
355
- "name": "test",
356
- "params": [
357
- {
358
- "__schema": "ParameterSchema",
359
- "location": {
360
- "filePath": "jest.tester.ts",
361
- "line": 158,
362
- "character": 14
363
- },
364
- "name": "context",
365
- "type": {
366
- "__schema": "TypeRefSchema",
367
- "location": {
368
- "filePath": "jest.tester.ts",
369
- "line": 158,
370
- "character": 23
371
- },
372
- "name": "TesterContext"
373
- },
374
- "isOptional": false,
375
- "isSpread": false
376
- }
377
- ],
378
- "returnType": {
379
- "__schema": "TypeRefSchema",
380
- "location": {
381
- "filePath": "jest.tester.ts",
382
- "line": 158,
383
- "character": 39
384
- },
385
- "name": "Promise",
386
- "typeArgs": [
387
- {
388
- "__schema": "TypeRefSchema",
389
- "location": {
390
- "filePath": "jest.tester.ts",
391
- "line": 158,
392
- "character": 47
393
- },
394
- "name": "Tests"
395
- }
396
- ]
397
- },
398
- "modifiers": [
399
- "async"
400
- ]
401
- },
402
- {
403
- "__schema": "FunctionLikeSchema",
404
- "location": {
405
- "filePath": "jest.tester.ts",
406
- "line": 226,
407
- "character": 3
408
- },
409
- "signature": "(method) JestTester.watch(context: TesterContext): Promise<Tests>",
410
- "name": "watch",
411
- "params": [
412
- {
413
- "__schema": "ParameterSchema",
414
- "location": {
415
- "filePath": "jest.tester.ts",
416
- "line": 226,
417
- "character": 15
418
- },
419
- "name": "context",
420
- "type": {
421
- "__schema": "TypeRefSchema",
422
- "location": {
423
- "filePath": "jest.tester.ts",
424
- "line": 226,
425
- "character": 24
426
- },
427
- "name": "TesterContext"
428
- },
429
- "isOptional": false,
430
- "isSpread": false
431
- }
432
- ],
433
- "returnType": {
434
- "__schema": "TypeRefSchema",
435
- "location": {
436
- "filePath": "jest.tester.ts",
437
- "line": 226,
438
- "character": 40
439
- },
440
- "name": "Promise",
441
- "typeArgs": [
442
- {
443
- "__schema": "TypeRefSchema",
444
- "location": {
445
- "filePath": "jest.tester.ts",
446
- "line": 226,
447
- "character": 48
448
- },
449
- "name": "Tests"
450
- }
451
- ]
452
- },
453
- "modifiers": [
454
- "async"
455
- ]
456
- }
457
- ],
458
- "extendsNodes": [],
459
- "implementNodes": [
460
- {
461
- "__schema": "ExpressionWithTypeArgumentsSchema",
462
- "location": {
463
- "filePath": "jest.tester.ts",
464
- "line": 39,
465
- "character": 36
466
- },
467
- "name": "implements Tester",
468
- "typeArgs": [],
469
- "expression": {
470
- "__schema": "TypeRefSchema",
471
- "location": {
472
- "filePath": "jest.tester.ts",
473
- "line": 39,
474
- "character": 36
475
- },
476
- "name": "Tester",
477
- "componentId": {
478
- "_legacy": {
479
- "scope": "teambit.defender",
480
- "name": "jest",
481
- "version": "1.0.187"
482
- },
483
- "_scope": "teambit.defender"
484
- }
485
- }
486
- }
487
- ]
488
- },
489
- {
490
- "__schema": "ClassSchema",
491
- "location": {
492
- "filePath": "jest.main.runtime.ts",
493
- "line": 10,
494
- "character": 1
495
- },
496
- "signature": "class JestMain",
497
- "name": "JestMain",
498
- "members": [
499
- {
500
- "__schema": "ConstructorSchema",
501
- "location": {
502
- "filePath": "jest.main.runtime.ts",
503
- "line": 11,
504
- "character": 3
505
- },
506
- "signature": "constructor JestMain(jestWorker: HarmonyWorker<JestWorker>, logger: Logger): JestMain",
507
- "name": "constructor",
508
- "params": [
509
- {
510
- "__schema": "ParameterSchema",
511
- "location": {
512
- "filePath": "jest.main.runtime.ts",
513
- "line": 11,
514
- "character": 15
515
- },
516
- "name": "jestWorker",
517
- "type": {
518
- "__schema": "TypeRefSchema",
519
- "location": {
520
- "filePath": "jest.main.runtime.ts",
521
- "line": 11,
522
- "character": 35
523
- },
524
- "name": "HarmonyWorker",
525
- "typeArgs": [
526
- {
527
- "__schema": "TypeRefSchema",
528
- "location": {
529
- "filePath": "jest.main.runtime.ts",
530
- "line": 11,
531
- "character": 49
532
- },
533
- "name": "JestWorker"
534
- }
535
- ]
536
- },
537
- "isOptional": false,
538
- "isSpread": false
539
- },
540
- {
541
- "__schema": "ParameterSchema",
542
- "location": {
543
- "filePath": "jest.main.runtime.ts",
544
- "line": 11,
545
- "character": 62
546
- },
547
- "name": "logger",
548
- "type": {
549
- "__schema": "TypeRefSchema",
550
- "location": {
551
- "filePath": "jest.main.runtime.ts",
552
- "line": 11,
553
- "character": 78
554
- },
555
- "name": "Logger"
556
- },
557
- "isOptional": false,
558
- "isSpread": false
559
- }
560
- ],
561
- "returnType": {
562
- "__schema": "ThisTypeSchema",
563
- "location": {
564
- "filePath": "jest.main.runtime.ts",
565
- "line": 10,
566
- "character": 1
567
- },
568
- "name": "JestMain"
569
- },
570
- "modifiers": []
571
- },
572
- {
573
- "__schema": "FunctionLikeSchema",
574
- "location": {
575
- "filePath": "jest.main.runtime.ts",
576
- "line": 13,
577
- "character": 3
578
- },
579
- "signature": "(method) JestMain.createTester(jestConfig: any, jestModulePath?: string, opts?: JestTesterOptions): JestTester",
580
- "name": "createTester",
581
- "params": [
582
- {
583
- "__schema": "ParameterSchema",
584
- "location": {
585
- "filePath": "jest.main.runtime.ts",
586
- "line": 13,
587
- "character": 16
588
- },
589
- "name": "jestConfig",
590
- "type": {
591
- "__schema": "KeywordTypeSchema",
592
- "location": {
593
- "filePath": "jest.main.runtime.ts",
594
- "line": 13,
595
- "character": 28
596
- },
597
- "name": "any"
598
- },
599
- "isOptional": false,
600
- "isSpread": false
601
- },
602
- {
603
- "__schema": "ParameterSchema",
604
- "location": {
605
- "filePath": "jest.main.runtime.ts",
606
- "line": 13,
607
- "character": 33
608
- },
609
- "name": "jestModulePath",
610
- "type": {
611
- "__schema": "InferenceTypeSchema",
612
- "location": {
613
- "filePath": "jest.main.runtime.ts",
614
- "line": 13,
615
- "character": 33
616
- },
617
- "type": "string"
618
- },
619
- "isOptional": true,
620
- "defaultValue": "require.resolve('jest')",
621
- "isSpread": false
622
- },
623
- {
624
- "__schema": "ParameterSchema",
625
- "location": {
626
- "filePath": "jest.main.runtime.ts",
627
- "line": 13,
628
- "character": 75
629
- },
630
- "name": "opts",
631
- "type": {
632
- "__schema": "TypeRefSchema",
633
- "location": {
634
- "filePath": "jest.main.runtime.ts",
635
- "line": 13,
636
- "character": 82
637
- },
638
- "name": "JestTesterOptions"
639
- },
640
- "isOptional": true,
641
- "isSpread": false
642
- }
643
- ],
644
- "returnType": {
645
- "__schema": "TypeRefSchema",
646
- "location": {
647
- "filePath": "jest.main.runtime.ts",
648
- "line": 13,
649
- "character": 3
650
- },
651
- "name": "JestTester"
652
- },
653
- "modifiers": []
654
- },
655
- {
656
- "__schema": "VariableLikeSchema",
657
- "location": {
658
- "filePath": "jest.main.runtime.ts",
659
- "line": 17,
660
- "character": 3
661
- },
662
- "signature": "(property) JestMain.runtime: RuntimeDefinition",
663
- "name": "runtime",
664
- "type": {
665
- "__schema": "InferenceTypeSchema",
666
- "location": {
667
- "filePath": "jest.main.runtime.ts",
668
- "line": 17,
669
- "character": 3
670
- },
671
- "type": "RuntimeDefinition"
672
- },
673
- "isOptional": true,
674
- "defaultValue": "MainRuntime"
675
- },
676
- {
677
- "__schema": "VariableLikeSchema",
678
- "location": {
679
- "filePath": "jest.main.runtime.ts",
680
- "line": 18,
681
- "character": 3
682
- },
683
- "signature": "(property) JestMain.dependencies: Aspect[]",
684
- "name": "dependencies",
685
- "type": {
686
- "__schema": "InferenceTypeSchema",
687
- "location": {
688
- "filePath": "jest.main.runtime.ts",
689
- "line": 18,
690
- "character": 3
691
- },
692
- "type": "Aspect[]"
693
- },
694
- "isOptional": true,
695
- "defaultValue": "[WorkerAspect, LoggerAspect]"
696
- },
697
- {
698
- "__schema": "FunctionLikeSchema",
699
- "location": {
700
- "filePath": "jest.main.runtime.ts",
701
- "line": 20,
702
- "character": 3
703
- },
704
- "signature": "(method) JestMain.provider([worker, loggerAspect]: [WorkerMain, LoggerMain]): Promise<JestMain>",
705
- "name": "provider",
706
- "params": [
707
- {
708
- "__schema": "ParameterSchema",
709
- "location": {
710
- "filePath": "jest.main.runtime.ts",
711
- "line": 20,
712
- "character": 25
713
- },
714
- "name": "[ worker, loggerAspect ]",
715
- "type": {
716
- "__schema": "TupleTypeSchema",
717
- "location": {
718
- "filePath": "jest.main.runtime.ts",
719
- "line": 20,
720
- "character": 49
721
- },
722
- "elements": [
723
- {
724
- "__schema": "TypeRefSchema",
725
- "location": {
726
- "filePath": "jest.main.runtime.ts",
727
- "line": 20,
728
- "character": 50
729
- },
730
- "name": "WorkerMain"
731
- },
732
- {
733
- "__schema": "TypeRefSchema",
734
- "location": {
735
- "filePath": "jest.main.runtime.ts",
736
- "line": 20,
737
- "character": 62
738
- },
739
- "name": "LoggerMain"
740
- }
741
- ]
742
- },
743
- "isOptional": false,
744
- "isSpread": false
745
- }
746
- ],
747
- "returnType": {
748
- "__schema": "InferenceTypeSchema",
749
- "location": {
750
- "filePath": "jest.main.runtime.ts",
751
- "line": 20,
752
- "character": 3
753
- },
754
- "type": "Promise<JestMain>"
755
- },
756
- "modifiers": [
757
- "static",
758
- "async"
759
- ]
760
- }
761
- ],
762
- "extendsNodes": [],
763
- "implementNodes": []
764
- },
765
- {
766
- "__schema": "VariableLikeSchema",
767
- "location": {
768
- "filePath": "jest.aspect.ts",
769
- "line": 3,
770
- "character": 14
771
- },
772
- "signature": "const JestAspect: Aspect",
773
- "name": "JestAspect",
774
- "type": {
775
- "__schema": "TypeRefSchema",
776
- "location": {
777
- "filePath": "jest.aspect.ts",
778
- "line": 3,
779
- "character": 14
780
- },
781
- "name": "Aspect",
782
- "componentId": {
783
- "scope": "teambit.harmony",
784
- "name": "harmony",
785
- "version": "0.4.6"
786
- }
787
- },
788
- "isOptional": false,
789
- "defaultValue": "Aspect.create({\n id: 'teambit.defender/jest',\n})"
790
- }
791
- ],
792
- "internals": []
793
- },
794
- "internals": [
795
- {
796
- "__schema": "ModuleSchema",
797
- "location": {
798
- "filePath": "jest.tester.ts",
799
- "line": 1,
800
- "character": 1
801
- },
802
- "exports": [
803
- {
804
- "__schema": "TypeSchema",
805
- "location": {
806
- "filePath": "jest.tester.ts",
807
- "line": 20,
808
- "character": 1
809
- },
810
- "signature": "type JestTesterOptions = {\n patterns?: string[] | undefined;\n roots?: string[] | undefined;\n resolveSpecPaths?: ((component: Component, context: TesterContext) => string[]) | undefined;\n}",
811
- "name": "JestTesterOptions",
812
- "type": {
813
- "__schema": "TypeLiteralSchema",
814
- "location": {
815
- "filePath": "jest.tester.ts",
816
- "line": 20,
817
- "character": 33
818
- },
819
- "members": [
820
- {
821
- "__schema": "VariableLikeSchema",
822
- "location": {
823
- "filePath": "jest.tester.ts",
824
- "line": 24,
825
- "character": 3
826
- },
827
- "doc": {
828
- "__schema": "DocSchema",
829
- "location": {
830
- "filePath": "jest.tester.ts",
831
- "line": 21,
832
- "character": 3
833
- },
834
- "raw": "/**\n * array of patterns to test. (override the patterns provided by the context)\n */",
835
- "comment": "array of patterns to test. (override the patterns provided by the context)"
836
- },
837
- "signature": "(property) patterns?: string[] | undefined",
838
- "name": "patterns",
839
- "type": {
840
- "__schema": "TypeArraySchema",
841
- "location": {
842
- "filePath": "jest.tester.ts",
843
- "line": 24,
844
- "character": 14
845
- },
846
- "type": {
847
- "__schema": "KeywordTypeSchema",
848
- "location": {
849
- "filePath": "jest.tester.ts",
850
- "line": 24,
851
- "character": 14
852
- },
853
- "name": "string"
854
- }
855
- },
856
- "isOptional": true
857
- },
858
- {
859
- "__schema": "VariableLikeSchema",
860
- "location": {
861
- "filePath": "jest.tester.ts",
862
- "line": 29,
863
- "character": 3
864
- },
865
- "doc": {
866
- "__schema": "DocSchema",
867
- "location": {
868
- "filePath": "jest.tester.ts",
869
- "line": 26,
870
- "character": 3
871
- },
872
- "raw": "/**\n * add more root paths to look for tests.\n */",
873
- "comment": "add more root paths to look for tests."
874
- },
875
- "signature": "(property) roots?: string[] | undefined",
876
- "name": "roots",
877
- "type": {
878
- "__schema": "TypeArraySchema",
879
- "location": {
880
- "filePath": "jest.tester.ts",
881
- "line": 29,
882
- "character": 11
883
- },
884
- "type": {
885
- "__schema": "KeywordTypeSchema",
886
- "location": {
887
- "filePath": "jest.tester.ts",
888
- "line": 29,
889
- "character": 11
890
- },
891
- "name": "string"
892
- }
893
- },
894
- "isOptional": true
895
- },
896
- {
897
- "__schema": "VariableLikeSchema",
898
- "location": {
899
- "filePath": "jest.tester.ts",
900
- "line": 36,
901
- "character": 3
902
- },
903
- "doc": {
904
- "__schema": "DocSchema",
905
- "location": {
906
- "filePath": "jest.tester.ts",
907
- "line": 31,
908
- "character": 3
909
- },
910
- "raw": "/**\n * A function that knows to resolve the paths of the spec files.\n * This usually used when you want only subset of your spec files to be used\n * (usually when you use multi tester with different specs files for each tester instance).\n */",
911
- "comment": "A function that knows to resolve the paths of the spec files.\nThis usually used when you want only subset of your spec files to be used\n(usually when you use multi tester with different specs files for each tester instance)."
912
- },
913
- "signature": "(property) resolveSpecPaths?: ((component: Component, context: TesterContext) => string[]) | undefined",
914
- "name": "resolveSpecPaths",
915
- "type": {
916
- "__schema": "FunctionLikeSchema",
917
- "location": {
918
- "filePath": "jest.tester.ts",
919
- "line": 36,
920
- "character": 22
921
- },
922
- "signature": "(component: Component, context: TesterContext): string[]",
923
- "name": "",
924
- "params": [
925
- {
926
- "__schema": "ParameterSchema",
927
- "location": {
928
- "filePath": "jest.tester.ts",
929
- "line": 36,
930
- "character": 23
931
- },
932
- "name": "component",
933
- "type": {
934
- "__schema": "TypeRefSchema",
935
- "location": {
936
- "filePath": "jest.tester.ts",
937
- "line": 36,
938
- "character": 34
939
- },
940
- "name": "Component"
941
- },
942
- "isOptional": false,
943
- "isSpread": false
944
- },
945
- {
946
- "__schema": "ParameterSchema",
947
- "location": {
948
- "filePath": "jest.tester.ts",
949
- "line": 36,
950
- "character": 45
951
- },
952
- "name": "context",
953
- "type": {
954
- "__schema": "TypeRefSchema",
955
- "location": {
956
- "filePath": "jest.tester.ts",
957
- "line": 36,
958
- "character": 54
959
- },
960
- "name": "TesterContext"
961
- },
962
- "isOptional": false,
963
- "isSpread": false
964
- }
965
- ],
966
- "returnType": {
967
- "__schema": "TypeArraySchema",
968
- "location": {
969
- "filePath": "jest.tester.ts",
970
- "line": 36,
971
- "character": 72
972
- },
973
- "type": {
974
- "__schema": "KeywordTypeSchema",
975
- "location": {
976
- "filePath": "jest.tester.ts",
977
- "line": 36,
978
- "character": 72
979
- },
980
- "name": "string"
981
- }
982
- },
983
- "modifiers": []
984
- },
985
- "isOptional": true
986
- }
987
- ]
988
- }
989
- },
990
- {
991
- "__schema": "ClassSchema",
992
- "location": {
993
- "filePath": "jest.tester.ts",
994
- "line": 39,
995
- "character": 1
996
- },
997
- "signature": "class JestTester",
998
- "name": "JestTester",
999
- "members": [
1000
- {
1001
- "__schema": "ConstructorSchema",
1002
- "location": {
1003
- "filePath": "jest.tester.ts",
1004
- "line": 42,
1005
- "character": 3
1006
- },
1007
- "signature": "constructor JestTester(id: string, jestConfig: any, jestModulePath: string, jestWorker: HarmonyWorker<JestWorker>, logger: Logger, opts?: JestTesterOptions): JestTester",
1008
- "name": "constructor",
1009
- "params": [
1010
- {
1011
- "__schema": "ParameterSchema",
1012
- "location": {
1013
- "filePath": "jest.tester.ts",
1014
- "line": 43,
1015
- "character": 5
1016
- },
1017
- "name": "id",
1018
- "type": {
1019
- "__schema": "KeywordTypeSchema",
1020
- "location": {
1021
- "filePath": "jest.tester.ts",
1022
- "line": 43,
1023
- "character": 18
1024
- },
1025
- "name": "string"
1026
- },
1027
- "isOptional": false,
1028
- "isSpread": false
1029
- },
1030
- {
1031
- "__schema": "ParameterSchema",
1032
- "location": {
1033
- "filePath": "jest.tester.ts",
1034
- "line": 44,
1035
- "character": 5
1036
- },
1037
- "name": "jestConfig",
1038
- "type": {
1039
- "__schema": "KeywordTypeSchema",
1040
- "location": {
1041
- "filePath": "jest.tester.ts",
1042
- "line": 44,
1043
- "character": 26
1044
- },
1045
- "name": "any"
1046
- },
1047
- "isOptional": false,
1048
- "isSpread": false
1049
- },
1050
- {
1051
- "__schema": "ParameterSchema",
1052
- "location": {
1053
- "filePath": "jest.tester.ts",
1054
- "line": 45,
1055
- "character": 5
1056
- },
1057
- "name": "jestModulePath",
1058
- "type": {
1059
- "__schema": "KeywordTypeSchema",
1060
- "location": {
1061
- "filePath": "jest.tester.ts",
1062
- "line": 45,
1063
- "character": 29
1064
- },
1065
- "name": "string"
1066
- },
1067
- "isOptional": false,
1068
- "isSpread": false
1069
- },
1070
- {
1071
- "__schema": "ParameterSchema",
1072
- "location": {
1073
- "filePath": "jest.tester.ts",
1074
- "line": 46,
1075
- "character": 5
1076
- },
1077
- "name": "jestWorker",
1078
- "type": {
1079
- "__schema": "TypeRefSchema",
1080
- "location": {
1081
- "filePath": "jest.tester.ts",
1082
- "line": 46,
1083
- "character": 25
1084
- },
1085
- "name": "HarmonyWorker",
1086
- "typeArgs": [
1087
- {
1088
- "__schema": "TypeRefSchema",
1089
- "location": {
1090
- "filePath": "jest.tester.ts",
1091
- "line": 46,
1092
- "character": 39
1093
- },
1094
- "name": "JestWorker"
1095
- }
1096
- ]
1097
- },
1098
- "isOptional": false,
1099
- "isSpread": false
1100
- },
1101
- {
1102
- "__schema": "ParameterSchema",
1103
- "location": {
1104
- "filePath": "jest.tester.ts",
1105
- "line": 47,
1106
- "character": 5
1107
- },
1108
- "name": "logger",
1109
- "type": {
1110
- "__schema": "TypeRefSchema",
1111
- "location": {
1112
- "filePath": "jest.tester.ts",
1113
- "line": 47,
1114
- "character": 21
1115
- },
1116
- "name": "Logger"
1117
- },
1118
- "isOptional": false,
1119
- "isSpread": false
1120
- },
1121
- {
1122
- "__schema": "ParameterSchema",
1123
- "location": {
1124
- "filePath": "jest.tester.ts",
1125
- "line": 48,
1126
- "character": 5
1127
- },
1128
- "name": "opts",
1129
- "type": {
1130
- "__schema": "TypeRefSchema",
1131
- "location": {
1132
- "filePath": "jest.tester.ts",
1133
- "line": 48,
1134
- "character": 19
1135
- },
1136
- "name": "JestTesterOptions"
1137
- },
1138
- "isOptional": true,
1139
- "defaultValue": "{}",
1140
- "isSpread": false
1141
- }
1142
- ],
1143
- "returnType": {
1144
- "__schema": "ThisTypeSchema",
1145
- "location": {
1146
- "filePath": "jest.tester.ts",
1147
- "line": 39,
1148
- "character": 1
1149
- },
1150
- "name": "JestTester"
1151
- },
1152
- "modifiers": []
1153
- },
1154
- {
1155
- "__schema": "VariableLikeSchema",
1156
- "location": {
1157
- "filePath": "jest.tester.ts",
1158
- "line": 54,
1159
- "character": 3
1160
- },
1161
- "signature": "(property) JestTester.configPath: any",
1162
- "name": "configPath",
1163
- "type": {
1164
- "__schema": "InferenceTypeSchema",
1165
- "location": {
1166
- "filePath": "jest.tester.ts",
1167
- "line": 54,
1168
- "character": 3
1169
- },
1170
- "type": "any"
1171
- },
1172
- "isOptional": true,
1173
- "defaultValue": "this.jestConfig"
1174
- },
1175
- {
1176
- "__schema": "VariableLikeSchema",
1177
- "location": {
1178
- "filePath": "jest.tester.ts",
1179
- "line": 56,
1180
- "character": 3
1181
- },
1182
- "signature": "(property) JestTester.displayName: string",
1183
- "name": "displayName",
1184
- "type": {
1185
- "__schema": "InferenceTypeSchema",
1186
- "location": {
1187
- "filePath": "jest.tester.ts",
1188
- "line": 56,
1189
- "character": 3
1190
- },
1191
- "type": "string"
1192
- },
1193
- "isOptional": true,
1194
- "defaultValue": "'Jest'"
1195
- },
1196
- {
1197
- "__schema": "VariableLikeSchema",
1198
- "location": {
1199
- "filePath": "jest.tester.ts",
1200
- "line": 58,
1201
- "character": 3
1202
- },
1203
- "signature": "(property) JestTester._callback: CallbackFn | undefined",
1204
- "name": "_callback",
1205
- "type": {
1206
- "__schema": "TypeUnionSchema",
1207
- "location": {
1208
- "filePath": "jest.tester.ts",
1209
- "line": 58,
1210
- "character": 14
1211
- },
1212
- "types": [
1213
- {
1214
- "__schema": "TypeRefSchema",
1215
- "location": {
1216
- "filePath": "jest.tester.ts",
1217
- "line": 58,
1218
- "character": 14
1219
- },
1220
- "name": "CallbackFn"
1221
- },
1222
- {
1223
- "__schema": "KeywordTypeSchema",
1224
- "location": {
1225
- "filePath": "jest.tester.ts",
1226
- "line": 58,
1227
- "character": 27
1228
- },
1229
- "name": "undefined"
1230
- }
1231
- ]
1232
- },
1233
- "isOptional": false
1234
- },
1235
- {
1236
- "__schema": "FunctionLikeSchema",
1237
- "location": {
1238
- "filePath": "jest.tester.ts",
1239
- "line": 60,
1240
- "character": 3
1241
- },
1242
- "signature": "(method) JestTester.displayConfig(): string",
1243
- "name": "displayConfig",
1244
- "params": [],
1245
- "returnType": {
1246
- "__schema": "InferenceTypeSchema",
1247
- "location": {
1248
- "filePath": "jest.tester.ts",
1249
- "line": 60,
1250
- "character": 3
1251
- },
1252
- "type": "string"
1253
- },
1254
- "modifiers": []
1255
- },
1256
- {
1257
- "__schema": "FunctionLikeSchema",
1258
- "location": {
1259
- "filePath": "jest.tester.ts",
1260
- "line": 64,
1261
- "character": 3
1262
- },
1263
- "signature": "(method) JestTester.version(): any",
1264
- "name": "version",
1265
- "params": [],
1266
- "returnType": {
1267
- "__schema": "InferenceTypeSchema",
1268
- "location": {
1269
- "filePath": "jest.tester.ts",
1270
- "line": 64,
1271
- "character": 3
1272
- },
1273
- "type": "any"
1274
- },
1275
- "modifiers": []
1276
- },
1277
- {
1278
- "__schema": "FunctionLikeSchema",
1279
- "location": {
1280
- "filePath": "jest.tester.ts",
1281
- "line": 154,
1282
- "character": 3
1283
- },
1284
- "signature": "(method) JestTester.onTestRunComplete(callback: CallbackFn): Promise<void>",
1285
- "name": "onTestRunComplete",
1286
- "params": [
1287
- {
1288
- "__schema": "ParameterSchema",
1289
- "location": {
1290
- "filePath": "jest.tester.ts",
1291
- "line": 154,
1292
- "character": 27
1293
- },
1294
- "name": "callback",
1295
- "type": {
1296
- "__schema": "TypeRefSchema",
1297
- "location": {
1298
- "filePath": "jest.tester.ts",
1299
- "line": 154,
1300
- "character": 37
1301
- },
1302
- "name": "CallbackFn"
1303
- },
1304
- "isOptional": false,
1305
- "isSpread": false
1306
- }
1307
- ],
1308
- "returnType": {
1309
- "__schema": "InferenceTypeSchema",
1310
- "location": {
1311
- "filePath": "jest.tester.ts",
1312
- "line": 154,
1313
- "character": 3
1314
- },
1315
- "type": "Promise<void>"
1316
- },
1317
- "modifiers": [
1318
- "async"
1319
- ]
1320
- },
1321
- {
1322
- "__schema": "FunctionLikeSchema",
1323
- "location": {
1324
- "filePath": "jest.tester.ts",
1325
- "line": 158,
1326
- "character": 3
1327
- },
1328
- "signature": "(method) JestTester.test(context: TesterContext): Promise<Tests>",
1329
- "name": "test",
1330
- "params": [
1331
- {
1332
- "__schema": "ParameterSchema",
1333
- "location": {
1334
- "filePath": "jest.tester.ts",
1335
- "line": 158,
1336
- "character": 14
1337
- },
1338
- "name": "context",
1339
- "type": {
1340
- "__schema": "TypeRefSchema",
1341
- "location": {
1342
- "filePath": "jest.tester.ts",
1343
- "line": 158,
1344
- "character": 23
1345
- },
1346
- "name": "TesterContext"
1347
- },
1348
- "isOptional": false,
1349
- "isSpread": false
1350
- }
1351
- ],
1352
- "returnType": {
1353
- "__schema": "TypeRefSchema",
1354
- "location": {
1355
- "filePath": "jest.tester.ts",
1356
- "line": 158,
1357
- "character": 39
1358
- },
1359
- "name": "Promise",
1360
- "typeArgs": [
1361
- {
1362
- "__schema": "TypeRefSchema",
1363
- "location": {
1364
- "filePath": "jest.tester.ts",
1365
- "line": 158,
1366
- "character": 47
1367
- },
1368
- "name": "Tests"
1369
- }
1370
- ]
1371
- },
1372
- "modifiers": [
1373
- "async"
1374
- ]
1375
- },
1376
- {
1377
- "__schema": "FunctionLikeSchema",
1378
- "location": {
1379
- "filePath": "jest.tester.ts",
1380
- "line": 226,
1381
- "character": 3
1382
- },
1383
- "signature": "(method) JestTester.watch(context: TesterContext): Promise<Tests>",
1384
- "name": "watch",
1385
- "params": [
1386
- {
1387
- "__schema": "ParameterSchema",
1388
- "location": {
1389
- "filePath": "jest.tester.ts",
1390
- "line": 226,
1391
- "character": 15
1392
- },
1393
- "name": "context",
1394
- "type": {
1395
- "__schema": "TypeRefSchema",
1396
- "location": {
1397
- "filePath": "jest.tester.ts",
1398
- "line": 226,
1399
- "character": 24
1400
- },
1401
- "name": "TesterContext"
1402
- },
1403
- "isOptional": false,
1404
- "isSpread": false
1405
- }
1406
- ],
1407
- "returnType": {
1408
- "__schema": "TypeRefSchema",
1409
- "location": {
1410
- "filePath": "jest.tester.ts",
1411
- "line": 226,
1412
- "character": 40
1413
- },
1414
- "name": "Promise",
1415
- "typeArgs": [
1416
- {
1417
- "__schema": "TypeRefSchema",
1418
- "location": {
1419
- "filePath": "jest.tester.ts",
1420
- "line": 226,
1421
- "character": 48
1422
- },
1423
- "name": "Tests"
1424
- }
1425
- ]
1426
- },
1427
- "modifiers": [
1428
- "async"
1429
- ]
1430
- }
1431
- ],
1432
- "extendsNodes": [],
1433
- "implementNodes": [
1434
- {
1435
- "__schema": "ExpressionWithTypeArgumentsSchema",
1436
- "location": {
1437
- "filePath": "jest.tester.ts",
1438
- "line": 39,
1439
- "character": 36
1440
- },
1441
- "name": "implements Tester",
1442
- "typeArgs": [],
1443
- "expression": {
1444
- "__schema": "TypeRefSchema",
1445
- "location": {
1446
- "filePath": "jest.tester.ts",
1447
- "line": 39,
1448
- "character": 36
1449
- },
1450
- "name": "Tester",
1451
- "componentId": {
1452
- "_legacy": {
1453
- "scope": "teambit.defender",
1454
- "name": "jest",
1455
- "version": "1.0.187"
1456
- },
1457
- "_scope": "teambit.defender"
1458
- }
1459
- }
1460
- }
1461
- ]
1462
- }
1463
- ],
1464
- "internals": []
1465
- },
1466
- {
1467
- "__schema": "ModuleSchema",
1468
- "location": {
1469
- "filePath": "jest.main.runtime.ts",
1470
- "line": 1,
1471
- "character": 1
1472
- },
1473
- "exports": [
1474
- {
1475
- "__schema": "VariableLikeSchema",
1476
- "location": {
1477
- "filePath": "jest.main.runtime.ts",
1478
- "line": 8,
1479
- "character": 14
1480
- },
1481
- "signature": "const WORKER_NAME: \"jest\"",
1482
- "name": "WORKER_NAME",
1483
- "type": {
1484
- "__schema": "InferenceTypeSchema",
1485
- "location": {
1486
- "filePath": "jest.main.runtime.ts",
1487
- "line": 8,
1488
- "character": 14
1489
- },
1490
- "type": "\"jest\""
1491
- },
1492
- "isOptional": false,
1493
- "defaultValue": "'jest'"
1494
- },
1495
- {
1496
- "__schema": "ClassSchema",
1497
- "location": {
1498
- "filePath": "jest.main.runtime.ts",
1499
- "line": 10,
1500
- "character": 1
1501
- },
1502
- "signature": "class JestMain",
1503
- "name": "JestMain",
1504
- "members": [
1505
- {
1506
- "__schema": "ConstructorSchema",
1507
- "location": {
1508
- "filePath": "jest.main.runtime.ts",
1509
- "line": 11,
1510
- "character": 3
1511
- },
1512
- "signature": "constructor JestMain(jestWorker: HarmonyWorker<JestWorker>, logger: Logger): JestMain",
1513
- "name": "constructor",
1514
- "params": [
1515
- {
1516
- "__schema": "ParameterSchema",
1517
- "location": {
1518
- "filePath": "jest.main.runtime.ts",
1519
- "line": 11,
1520
- "character": 15
1521
- },
1522
- "name": "jestWorker",
1523
- "type": {
1524
- "__schema": "TypeRefSchema",
1525
- "location": {
1526
- "filePath": "jest.main.runtime.ts",
1527
- "line": 11,
1528
- "character": 35
1529
- },
1530
- "name": "HarmonyWorker",
1531
- "typeArgs": [
1532
- {
1533
- "__schema": "TypeRefSchema",
1534
- "location": {
1535
- "filePath": "jest.main.runtime.ts",
1536
- "line": 11,
1537
- "character": 49
1538
- },
1539
- "name": "JestWorker"
1540
- }
1541
- ]
1542
- },
1543
- "isOptional": false,
1544
- "isSpread": false
1545
- },
1546
- {
1547
- "__schema": "ParameterSchema",
1548
- "location": {
1549
- "filePath": "jest.main.runtime.ts",
1550
- "line": 11,
1551
- "character": 62
1552
- },
1553
- "name": "logger",
1554
- "type": {
1555
- "__schema": "TypeRefSchema",
1556
- "location": {
1557
- "filePath": "jest.main.runtime.ts",
1558
- "line": 11,
1559
- "character": 78
1560
- },
1561
- "name": "Logger"
1562
- },
1563
- "isOptional": false,
1564
- "isSpread": false
1565
- }
1566
- ],
1567
- "returnType": {
1568
- "__schema": "ThisTypeSchema",
1569
- "location": {
1570
- "filePath": "jest.main.runtime.ts",
1571
- "line": 10,
1572
- "character": 1
1573
- },
1574
- "name": "JestMain"
1575
- },
1576
- "modifiers": []
1577
- },
1578
- {
1579
- "__schema": "FunctionLikeSchema",
1580
- "location": {
1581
- "filePath": "jest.main.runtime.ts",
1582
- "line": 13,
1583
- "character": 3
1584
- },
1585
- "signature": "(method) JestMain.createTester(jestConfig: any, jestModulePath?: string, opts?: JestTesterOptions): JestTester",
1586
- "name": "createTester",
1587
- "params": [
1588
- {
1589
- "__schema": "ParameterSchema",
1590
- "location": {
1591
- "filePath": "jest.main.runtime.ts",
1592
- "line": 13,
1593
- "character": 16
1594
- },
1595
- "name": "jestConfig",
1596
- "type": {
1597
- "__schema": "KeywordTypeSchema",
1598
- "location": {
1599
- "filePath": "jest.main.runtime.ts",
1600
- "line": 13,
1601
- "character": 28
1602
- },
1603
- "name": "any"
1604
- },
1605
- "isOptional": false,
1606
- "isSpread": false
1607
- },
1608
- {
1609
- "__schema": "ParameterSchema",
1610
- "location": {
1611
- "filePath": "jest.main.runtime.ts",
1612
- "line": 13,
1613
- "character": 33
1614
- },
1615
- "name": "jestModulePath",
1616
- "type": {
1617
- "__schema": "InferenceTypeSchema",
1618
- "location": {
1619
- "filePath": "jest.main.runtime.ts",
1620
- "line": 13,
1621
- "character": 33
1622
- },
1623
- "type": "string"
1624
- },
1625
- "isOptional": true,
1626
- "defaultValue": "require.resolve('jest')",
1627
- "isSpread": false
1628
- },
1629
- {
1630
- "__schema": "ParameterSchema",
1631
- "location": {
1632
- "filePath": "jest.main.runtime.ts",
1633
- "line": 13,
1634
- "character": 75
1635
- },
1636
- "name": "opts",
1637
- "type": {
1638
- "__schema": "TypeRefSchema",
1639
- "location": {
1640
- "filePath": "jest.main.runtime.ts",
1641
- "line": 13,
1642
- "character": 82
1643
- },
1644
- "name": "JestTesterOptions"
1645
- },
1646
- "isOptional": true,
1647
- "isSpread": false
1648
- }
1649
- ],
1650
- "returnType": {
1651
- "__schema": "TypeRefSchema",
1652
- "location": {
1653
- "filePath": "jest.main.runtime.ts",
1654
- "line": 13,
1655
- "character": 3
1656
- },
1657
- "name": "JestTester"
1658
- },
1659
- "modifiers": []
1660
- },
1661
- {
1662
- "__schema": "VariableLikeSchema",
1663
- "location": {
1664
- "filePath": "jest.main.runtime.ts",
1665
- "line": 17,
1666
- "character": 3
1667
- },
1668
- "signature": "(property) JestMain.runtime: RuntimeDefinition",
1669
- "name": "runtime",
1670
- "type": {
1671
- "__schema": "InferenceTypeSchema",
1672
- "location": {
1673
- "filePath": "jest.main.runtime.ts",
1674
- "line": 17,
1675
- "character": 3
1676
- },
1677
- "type": "RuntimeDefinition"
1678
- },
1679
- "isOptional": true,
1680
- "defaultValue": "MainRuntime"
1681
- },
1682
- {
1683
- "__schema": "VariableLikeSchema",
1684
- "location": {
1685
- "filePath": "jest.main.runtime.ts",
1686
- "line": 18,
1687
- "character": 3
1688
- },
1689
- "signature": "(property) JestMain.dependencies: Aspect[]",
1690
- "name": "dependencies",
1691
- "type": {
1692
- "__schema": "InferenceTypeSchema",
1693
- "location": {
1694
- "filePath": "jest.main.runtime.ts",
1695
- "line": 18,
1696
- "character": 3
1697
- },
1698
- "type": "Aspect[]"
1699
- },
1700
- "isOptional": true,
1701
- "defaultValue": "[WorkerAspect, LoggerAspect]"
1702
- },
1703
- {
1704
- "__schema": "FunctionLikeSchema",
1705
- "location": {
1706
- "filePath": "jest.main.runtime.ts",
1707
- "line": 20,
1708
- "character": 3
1709
- },
1710
- "signature": "(method) JestMain.provider([worker, loggerAspect]: [WorkerMain, LoggerMain]): Promise<JestMain>",
1711
- "name": "provider",
1712
- "params": [
1713
- {
1714
- "__schema": "ParameterSchema",
1715
- "location": {
1716
- "filePath": "jest.main.runtime.ts",
1717
- "line": 20,
1718
- "character": 25
1719
- },
1720
- "name": "[ worker, loggerAspect ]",
1721
- "type": {
1722
- "__schema": "TupleTypeSchema",
1723
- "location": {
1724
- "filePath": "jest.main.runtime.ts",
1725
- "line": 20,
1726
- "character": 49
1727
- },
1728
- "elements": [
1729
- {
1730
- "__schema": "TypeRefSchema",
1731
- "location": {
1732
- "filePath": "jest.main.runtime.ts",
1733
- "line": 20,
1734
- "character": 50
1735
- },
1736
- "name": "WorkerMain"
1737
- },
1738
- {
1739
- "__schema": "TypeRefSchema",
1740
- "location": {
1741
- "filePath": "jest.main.runtime.ts",
1742
- "line": 20,
1743
- "character": 62
1744
- },
1745
- "name": "LoggerMain"
1746
- }
1747
- ]
1748
- },
1749
- "isOptional": false,
1750
- "isSpread": false
1751
- }
1752
- ],
1753
- "returnType": {
1754
- "__schema": "InferenceTypeSchema",
1755
- "location": {
1756
- "filePath": "jest.main.runtime.ts",
1757
- "line": 20,
1758
- "character": 3
1759
- },
1760
- "type": "Promise<JestMain>"
1761
- },
1762
- "modifiers": [
1763
- "static",
1764
- "async"
1765
- ]
1766
- }
1767
- ],
1768
- "extendsNodes": [],
1769
- "implementNodes": []
1770
- }
1771
- ],
1772
- "internals": [
1773
- {
1774
- "__schema": "UnImplementedSchema",
1775
- "location": {
1776
- "filePath": "jest.main.runtime.ts",
1777
- "line": 27,
1778
- "character": 1
1779
- },
1780
- "name": "JestAspect.addRuntime(JestMain);",
1781
- "type": "ExpressionStatement"
1782
- }
1783
- ]
1784
- },
1785
- {
1786
- "__schema": "ModuleSchema",
1787
- "location": {
1788
- "filePath": "jest.aspect.ts",
1789
- "line": 1,
1790
- "character": 1
1791
- },
1792
- "exports": [
1793
- {
1794
- "__schema": "VariableLikeSchema",
1795
- "location": {
1796
- "filePath": "jest.aspect.ts",
1797
- "line": 3,
1798
- "character": 14
1799
- },
1800
- "signature": "const JestAspect: Aspect",
1801
- "name": "JestAspect",
1802
- "type": {
1803
- "__schema": "TypeRefSchema",
1804
- "location": {
1805
- "filePath": "jest.aspect.ts",
1806
- "line": 3,
1807
- "character": 14
1808
- },
1809
- "name": "Aspect",
1810
- "componentId": {
1811
- "scope": "teambit.harmony",
1812
- "name": "harmony",
1813
- "version": "0.4.6"
1814
- }
1815
- },
1816
- "isOptional": false,
1817
- "defaultValue": "Aspect.create({\n id: 'teambit.defender/jest',\n})"
1818
- }
1819
- ],
1820
- "internals": []
1821
- }
1822
- ],
1823
- "componentId": {
1824
- "scope": "teambit.defender",
1825
- "name": "jest",
1826
- "version": "1.0.187"
1827
- },
1828
- "taggedModuleExports": []
1829
- }