@teambit/jest 1.0.188 → 1.0.190

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.
@@ -0,0 +1,1941 @@
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
+ "componentId": {
113
+ "scope": "teambit.harmony",
114
+ "name": "worker"
115
+ },
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
138
+ },
139
+ "name": "logger",
140
+ "type": {
141
+ "__schema": "TypeRefSchema",
142
+ "location": {
143
+ "filePath": "jest.tester.ts",
144
+ "line": 47,
145
+ "character": 21
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
162
+ },
163
+ "name": "opts",
164
+ "type": {
165
+ "__schema": "TypeRefSchema",
166
+ "location": {
167
+ "filePath": "jest.tester.ts",
168
+ "line": 48,
169
+ "character": 19
170
+ },
171
+ "name": "JestTesterOptions",
172
+ "internalFilePath": "jest.tester.ts"
173
+ },
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
185
+ },
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
+ },
197
+ "signature": "(property) JestTester.configPath: any",
198
+ "name": "configPath",
199
+ "type": {
200
+ "__schema": "InferenceTypeSchema",
201
+ "location": {
202
+ "filePath": "jest.tester.ts",
203
+ "line": 54,
204
+ "character": 3
205
+ },
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
217
+ },
218
+ "signature": "(property) JestTester.displayName: string",
219
+ "name": "displayName",
220
+ "type": {
221
+ "__schema": "InferenceTypeSchema",
222
+ "location": {
223
+ "filePath": "jest.tester.ts",
224
+ "line": 56,
225
+ "character": 3
226
+ },
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
238
+ },
239
+ "signature": "(property) JestTester._callback: CallbackFn | undefined",
240
+ "name": "_callback",
241
+ "type": {
242
+ "__schema": "TypeUnionSchema",
243
+ "location": {
244
+ "filePath": "jest.tester.ts",
245
+ "line": 58,
246
+ "character": 14
247
+ },
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
+ }
261
+ },
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
281
+ },
282
+ "signature": "(method) JestTester.displayConfig(): string",
283
+ "name": "displayConfig",
284
+ "params": [],
285
+ "returnType": {
286
+ "__schema": "InferenceTypeSchema",
287
+ "location": {
288
+ "filePath": "jest.tester.ts",
289
+ "line": 60,
290
+ "character": 3
291
+ },
292
+ "type": "string"
293
+ },
294
+ "modifiers": []
295
+ },
296
+ {
297
+ "__schema": "FunctionLikeSchema",
298
+ "location": {
299
+ "filePath": "jest.tester.ts",
300
+ "line": 64,
301
+ "character": 3
302
+ },
303
+ "signature": "(method) JestTester.version(): any",
304
+ "name": "version",
305
+ "params": [],
306
+ "returnType": {
307
+ "__schema": "InferenceTypeSchema",
308
+ "location": {
309
+ "filePath": "jest.tester.ts",
310
+ "line": 64,
311
+ "character": 3
312
+ },
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",
329
+ "location": {
330
+ "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
+ }
347
+ },
348
+ "isOptional": false,
349
+ "isSpread": false
350
+ }
351
+ ],
352
+ "returnType": {
353
+ "__schema": "InferenceTypeSchema",
354
+ "location": {
355
+ "filePath": "jest.tester.ts",
356
+ "line": 154,
357
+ "character": 3
358
+ },
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",
385
+ "location": {
386
+ "filePath": "jest.tester.ts",
387
+ "line": 158,
388
+ "character": 23
389
+ },
390
+ "name": "TesterContext",
391
+ "componentId": {
392
+ "scope": "teambit.defender",
393
+ "name": "tester"
394
+ }
395
+ },
396
+ "isOptional": false,
397
+ "isSpread": false
398
+ }
399
+ ],
400
+ "returnType": {
401
+ "__schema": "TypeRefSchema",
402
+ "location": {
403
+ "filePath": "jest.tester.ts",
404
+ "line": 158,
405
+ "character": 39
406
+ },
407
+ "name": "Promise",
408
+ "typeArgs": [
409
+ {
410
+ "__schema": "TypeRefSchema",
411
+ "location": {
412
+ "filePath": "jest.tester.ts",
413
+ "line": 158,
414
+ "character": 47
415
+ },
416
+ "name": "Tests",
417
+ "componentId": {
418
+ "scope": "teambit.defender",
419
+ "name": "tester"
420
+ }
421
+ }
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",
440
+ "location": {
441
+ "filePath": "jest.tester.ts",
442
+ "line": 226,
443
+ "character": 15
444
+ },
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"
457
+ }
458
+ },
459
+ "isOptional": false,
460
+ "isSpread": false
461
+ }
462
+ ],
463
+ "returnType": {
464
+ "__schema": "TypeRefSchema",
465
+ "location": {
466
+ "filePath": "jest.tester.ts",
467
+ "line": 226,
468
+ "character": 40
469
+ },
470
+ "name": "Promise",
471
+ "typeArgs": [
472
+ {
473
+ "__schema": "TypeRefSchema",
474
+ "location": {
475
+ "filePath": "jest.tester.ts",
476
+ "line": 226,
477
+ "character": 48
478
+ },
479
+ "name": "Tests",
480
+ "componentId": {
481
+ "scope": "teambit.defender",
482
+ "name": "tester"
483
+ }
484
+ }
485
+ ]
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",
505
+ "location": {
506
+ "filePath": "jest.tester.ts",
507
+ "line": 39,
508
+ "character": 36
509
+ },
510
+ "name": "Tester",
511
+ "componentId": {
512
+ "_legacy": {
513
+ "scope": "teambit.defender",
514
+ "name": "jest",
515
+ "version": "1.0.190"
516
+ },
517
+ "_scope": "teambit.defender"
518
+ }
519
+ }
520
+ }
521
+ ]
522
+ },
523
+ {
524
+ "__schema": "ClassSchema",
525
+ "location": {
526
+ "filePath": "jest.main.runtime.ts",
527
+ "line": 10,
528
+ "character": 1
529
+ },
530
+ "signature": "class JestMain",
531
+ "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",
553
+ "location": {
554
+ "filePath": "jest.main.runtime.ts",
555
+ "line": 11,
556
+ "character": 35
557
+ },
558
+ "name": "HarmonyWorker",
559
+ "componentId": {
560
+ "scope": "teambit.harmony",
561
+ "name": "worker"
562
+ },
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"
573
+ }
574
+ ]
575
+ },
576
+ "isOptional": false,
577
+ "isSpread": false
578
+ },
579
+ {
580
+ "__schema": "ParameterSchema",
581
+ "location": {
582
+ "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
+ }
599
+ },
600
+ "isOptional": false,
601
+ "isSpread": false
602
+ }
603
+ ],
604
+ "returnType": {
605
+ "__schema": "ThisTypeSchema",
606
+ "location": {
607
+ "filePath": "jest.main.runtime.ts",
608
+ "line": 10,
609
+ "character": 1
610
+ },
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",
635
+ "location": {
636
+ "filePath": "jest.main.runtime.ts",
637
+ "line": 13,
638
+ "character": 28
639
+ },
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
651
+ },
652
+ "name": "jestModulePath",
653
+ "type": {
654
+ "__schema": "InferenceTypeSchema",
655
+ "location": {
656
+ "filePath": "jest.main.runtime.ts",
657
+ "line": 13,
658
+ "character": 33
659
+ },
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
672
+ },
673
+ "name": "opts",
674
+ "type": {
675
+ "__schema": "TypeRefSchema",
676
+ "location": {
677
+ "filePath": "jest.main.runtime.ts",
678
+ "line": 13,
679
+ "character": 82
680
+ },
681
+ "name": "JestTesterOptions",
682
+ "internalFilePath": "jest.tester.ts"
683
+ },
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
694
+ },
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
705
+ },
706
+ "signature": "(property) JestMain.runtime: RuntimeDefinition",
707
+ "name": "runtime",
708
+ "type": {
709
+ "__schema": "InferenceTypeSchema",
710
+ "location": {
711
+ "filePath": "jest.main.runtime.ts",
712
+ "line": 17,
713
+ "character": 3
714
+ },
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
726
+ },
727
+ "signature": "(property) JestMain.dependencies: Aspect[]",
728
+ "name": "dependencies",
729
+ "type": {
730
+ "__schema": "InferenceTypeSchema",
731
+ "location": {
732
+ "filePath": "jest.main.runtime.ts",
733
+ "line": 18,
734
+ "character": 3
735
+ },
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",
753
+ "location": {
754
+ "filePath": "jest.main.runtime.ts",
755
+ "line": 20,
756
+ "character": 25
757
+ },
758
+ "name": "[ worker, loggerAspect ]",
759
+ "type": {
760
+ "__schema": "TupleTypeSchema",
761
+ "location": {
762
+ "filePath": "jest.main.runtime.ts",
763
+ "line": 20,
764
+ "character": 49
765
+ },
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
+ }
779
+ },
780
+ {
781
+ "__schema": "TypeRefSchema",
782
+ "location": {
783
+ "filePath": "jest.main.runtime.ts",
784
+ "line": 20,
785
+ "character": 62
786
+ },
787
+ "name": "LoggerMain",
788
+ "componentId": {
789
+ "scope": "teambit.harmony",
790
+ "name": "logger"
791
+ }
792
+ }
793
+ ]
794
+ },
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
805
+ },
806
+ "type": "Promise<JestMain>"
807
+ },
808
+ "modifiers": [
809
+ "static",
810
+ "async"
811
+ ]
812
+ }
813
+ ],
814
+ "extendsNodes": [],
815
+ "implementNodes": []
816
+ },
817
+ {
818
+ "__schema": "VariableLikeSchema",
819
+ "location": {
820
+ "filePath": "jest.aspect.ts",
821
+ "line": 3,
822
+ "character": 14
823
+ },
824
+ "signature": "const JestAspect: Aspect",
825
+ "name": "JestAspect",
826
+ "type": {
827
+ "__schema": "TypeRefSchema",
828
+ "location": {
829
+ "filePath": "jest.aspect.ts",
830
+ "line": 3,
831
+ "character": 14
832
+ },
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})"
842
+ }
843
+ ],
844
+ "internals": []
845
+ },
846
+ "internals": [
847
+ {
848
+ "__schema": "ModuleSchema",
849
+ "location": {
850
+ "filePath": "jest.tester.ts",
851
+ "line": 1,
852
+ "character": 1
853
+ },
854
+ "exports": [
855
+ {
856
+ "__schema": "TypeSchema",
857
+ "location": {
858
+ "filePath": "jest.tester.ts",
859
+ "line": 20,
860
+ "character": 1
861
+ },
862
+ "signature": "type JestTesterOptions = {\n patterns?: string[] | undefined;\n roots?: string[] | undefined;\n resolveSpecPaths?: ((component: Component, context: TesterContext) => string[]) | undefined;\n}",
863
+ "name": "JestTesterOptions",
864
+ "type": {
865
+ "__schema": "TypeLiteralSchema",
866
+ "location": {
867
+ "filePath": "jest.tester.ts",
868
+ "line": 20,
869
+ "character": 33
870
+ },
871
+ "members": [
872
+ {
873
+ "__schema": "VariableLikeSchema",
874
+ "location": {
875
+ "filePath": "jest.tester.ts",
876
+ "line": 24,
877
+ "character": 3
878
+ },
879
+ "doc": {
880
+ "__schema": "DocSchema",
881
+ "location": {
882
+ "filePath": "jest.tester.ts",
883
+ "line": 21,
884
+ "character": 3
885
+ },
886
+ "raw": "/**\n * array of patterns to test. (override the patterns provided by the context)\n */",
887
+ "comment": "array of patterns to test. (override the patterns provided by the context)"
888
+ },
889
+ "signature": "(property) patterns?: string[] | undefined",
890
+ "name": "patterns",
891
+ "type": {
892
+ "__schema": "TypeArraySchema",
893
+ "location": {
894
+ "filePath": "jest.tester.ts",
895
+ "line": 24,
896
+ "character": 14
897
+ },
898
+ "type": {
899
+ "__schema": "KeywordTypeSchema",
900
+ "location": {
901
+ "filePath": "jest.tester.ts",
902
+ "line": 24,
903
+ "character": 14
904
+ },
905
+ "name": "string"
906
+ }
907
+ },
908
+ "isOptional": true
909
+ },
910
+ {
911
+ "__schema": "VariableLikeSchema",
912
+ "location": {
913
+ "filePath": "jest.tester.ts",
914
+ "line": 29,
915
+ "character": 3
916
+ },
917
+ "doc": {
918
+ "__schema": "DocSchema",
919
+ "location": {
920
+ "filePath": "jest.tester.ts",
921
+ "line": 26,
922
+ "character": 3
923
+ },
924
+ "raw": "/**\n * add more root paths to look for tests.\n */",
925
+ "comment": "add more root paths to look for tests."
926
+ },
927
+ "signature": "(property) roots?: string[] | undefined",
928
+ "name": "roots",
929
+ "type": {
930
+ "__schema": "TypeArraySchema",
931
+ "location": {
932
+ "filePath": "jest.tester.ts",
933
+ "line": 29,
934
+ "character": 11
935
+ },
936
+ "type": {
937
+ "__schema": "KeywordTypeSchema",
938
+ "location": {
939
+ "filePath": "jest.tester.ts",
940
+ "line": 29,
941
+ "character": 11
942
+ },
943
+ "name": "string"
944
+ }
945
+ },
946
+ "isOptional": true
947
+ },
948
+ {
949
+ "__schema": "VariableLikeSchema",
950
+ "location": {
951
+ "filePath": "jest.tester.ts",
952
+ "line": 36,
953
+ "character": 3
954
+ },
955
+ "doc": {
956
+ "__schema": "DocSchema",
957
+ "location": {
958
+ "filePath": "jest.tester.ts",
959
+ "line": 31,
960
+ "character": 3
961
+ },
962
+ "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 */",
963
+ "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)."
964
+ },
965
+ "signature": "(property) resolveSpecPaths?: ((component: Component, context: TesterContext) => string[]) | undefined",
966
+ "name": "resolveSpecPaths",
967
+ "type": {
968
+ "__schema": "FunctionLikeSchema",
969
+ "location": {
970
+ "filePath": "jest.tester.ts",
971
+ "line": 36,
972
+ "character": 22
973
+ },
974
+ "signature": "(component: \u001b[2m(component: teambit.component/component)\u001b[22m Component, context: \u001b[2m(component: teambit.defender/tester)\u001b[22m TesterContext): string[]",
975
+ "name": "",
976
+ "params": [
977
+ {
978
+ "__schema": "ParameterSchema",
979
+ "location": {
980
+ "filePath": "jest.tester.ts",
981
+ "line": 36,
982
+ "character": 23
983
+ },
984
+ "name": "component",
985
+ "type": {
986
+ "__schema": "TypeRefSchema",
987
+ "location": {
988
+ "filePath": "jest.tester.ts",
989
+ "line": 36,
990
+ "character": 34
991
+ },
992
+ "name": "Component",
993
+ "componentId": {
994
+ "scope": "teambit.component",
995
+ "name": "component"
996
+ }
997
+ },
998
+ "isOptional": false,
999
+ "isSpread": false
1000
+ },
1001
+ {
1002
+ "__schema": "ParameterSchema",
1003
+ "location": {
1004
+ "filePath": "jest.tester.ts",
1005
+ "line": 36,
1006
+ "character": 45
1007
+ },
1008
+ "name": "context",
1009
+ "type": {
1010
+ "__schema": "TypeRefSchema",
1011
+ "location": {
1012
+ "filePath": "jest.tester.ts",
1013
+ "line": 36,
1014
+ "character": 54
1015
+ },
1016
+ "name": "TesterContext",
1017
+ "componentId": {
1018
+ "scope": "teambit.defender",
1019
+ "name": "tester"
1020
+ }
1021
+ },
1022
+ "isOptional": false,
1023
+ "isSpread": false
1024
+ }
1025
+ ],
1026
+ "returnType": {
1027
+ "__schema": "TypeArraySchema",
1028
+ "location": {
1029
+ "filePath": "jest.tester.ts",
1030
+ "line": 36,
1031
+ "character": 72
1032
+ },
1033
+ "type": {
1034
+ "__schema": "KeywordTypeSchema",
1035
+ "location": {
1036
+ "filePath": "jest.tester.ts",
1037
+ "line": 36,
1038
+ "character": 72
1039
+ },
1040
+ "name": "string"
1041
+ }
1042
+ },
1043
+ "modifiers": []
1044
+ },
1045
+ "isOptional": true
1046
+ }
1047
+ ]
1048
+ }
1049
+ },
1050
+ {
1051
+ "__schema": "ClassSchema",
1052
+ "location": {
1053
+ "filePath": "jest.tester.ts",
1054
+ "line": 39,
1055
+ "character": 1
1056
+ },
1057
+ "signature": "class JestTester",
1058
+ "name": "JestTester",
1059
+ "members": [
1060
+ {
1061
+ "__schema": "ConstructorSchema",
1062
+ "location": {
1063
+ "filePath": "jest.tester.ts",
1064
+ "line": 42,
1065
+ "character": 3
1066
+ },
1067
+ "signature": "constructor JestTester(id: string, jestConfig: any, jestModulePath: string, jestWorker: HarmonyWorker<JestWorker>, logger: Logger, opts?: JestTesterOptions): JestTester",
1068
+ "name": "constructor",
1069
+ "params": [
1070
+ {
1071
+ "__schema": "ParameterSchema",
1072
+ "location": {
1073
+ "filePath": "jest.tester.ts",
1074
+ "line": 43,
1075
+ "character": 5
1076
+ },
1077
+ "name": "id",
1078
+ "type": {
1079
+ "__schema": "KeywordTypeSchema",
1080
+ "location": {
1081
+ "filePath": "jest.tester.ts",
1082
+ "line": 43,
1083
+ "character": 18
1084
+ },
1085
+ "name": "string"
1086
+ },
1087
+ "isOptional": false,
1088
+ "isSpread": false
1089
+ },
1090
+ {
1091
+ "__schema": "ParameterSchema",
1092
+ "location": {
1093
+ "filePath": "jest.tester.ts",
1094
+ "line": 44,
1095
+ "character": 5
1096
+ },
1097
+ "name": "jestConfig",
1098
+ "type": {
1099
+ "__schema": "KeywordTypeSchema",
1100
+ "location": {
1101
+ "filePath": "jest.tester.ts",
1102
+ "line": 44,
1103
+ "character": 26
1104
+ },
1105
+ "name": "any"
1106
+ },
1107
+ "isOptional": false,
1108
+ "isSpread": false
1109
+ },
1110
+ {
1111
+ "__schema": "ParameterSchema",
1112
+ "location": {
1113
+ "filePath": "jest.tester.ts",
1114
+ "line": 45,
1115
+ "character": 5
1116
+ },
1117
+ "name": "jestModulePath",
1118
+ "type": {
1119
+ "__schema": "KeywordTypeSchema",
1120
+ "location": {
1121
+ "filePath": "jest.tester.ts",
1122
+ "line": 45,
1123
+ "character": 29
1124
+ },
1125
+ "name": "string"
1126
+ },
1127
+ "isOptional": false,
1128
+ "isSpread": false
1129
+ },
1130
+ {
1131
+ "__schema": "ParameterSchema",
1132
+ "location": {
1133
+ "filePath": "jest.tester.ts",
1134
+ "line": 46,
1135
+ "character": 5
1136
+ },
1137
+ "name": "jestWorker",
1138
+ "type": {
1139
+ "__schema": "TypeRefSchema",
1140
+ "location": {
1141
+ "filePath": "jest.tester.ts",
1142
+ "line": 46,
1143
+ "character": 25
1144
+ },
1145
+ "name": "HarmonyWorker",
1146
+ "componentId": {
1147
+ "scope": "teambit.harmony",
1148
+ "name": "worker"
1149
+ },
1150
+ "typeArgs": [
1151
+ {
1152
+ "__schema": "TypeRefSchema",
1153
+ "location": {
1154
+ "filePath": "jest.tester.ts",
1155
+ "line": 46,
1156
+ "character": 39
1157
+ },
1158
+ "name": "JestWorker",
1159
+ "internalFilePath": "jest.worker.ts"
1160
+ }
1161
+ ]
1162
+ },
1163
+ "isOptional": false,
1164
+ "isSpread": false
1165
+ },
1166
+ {
1167
+ "__schema": "ParameterSchema",
1168
+ "location": {
1169
+ "filePath": "jest.tester.ts",
1170
+ "line": 47,
1171
+ "character": 5
1172
+ },
1173
+ "name": "logger",
1174
+ "type": {
1175
+ "__schema": "TypeRefSchema",
1176
+ "location": {
1177
+ "filePath": "jest.tester.ts",
1178
+ "line": 47,
1179
+ "character": 21
1180
+ },
1181
+ "name": "Logger",
1182
+ "componentId": {
1183
+ "scope": "teambit.harmony",
1184
+ "name": "logger"
1185
+ }
1186
+ },
1187
+ "isOptional": false,
1188
+ "isSpread": false
1189
+ },
1190
+ {
1191
+ "__schema": "ParameterSchema",
1192
+ "location": {
1193
+ "filePath": "jest.tester.ts",
1194
+ "line": 48,
1195
+ "character": 5
1196
+ },
1197
+ "name": "opts",
1198
+ "type": {
1199
+ "__schema": "TypeRefSchema",
1200
+ "location": {
1201
+ "filePath": "jest.tester.ts",
1202
+ "line": 48,
1203
+ "character": 19
1204
+ },
1205
+ "name": "JestTesterOptions",
1206
+ "internalFilePath": "jest.tester.ts"
1207
+ },
1208
+ "isOptional": true,
1209
+ "defaultValue": "{}",
1210
+ "isSpread": false
1211
+ }
1212
+ ],
1213
+ "returnType": {
1214
+ "__schema": "ThisTypeSchema",
1215
+ "location": {
1216
+ "filePath": "jest.tester.ts",
1217
+ "line": 39,
1218
+ "character": 1
1219
+ },
1220
+ "name": "JestTester"
1221
+ },
1222
+ "modifiers": []
1223
+ },
1224
+ {
1225
+ "__schema": "VariableLikeSchema",
1226
+ "location": {
1227
+ "filePath": "jest.tester.ts",
1228
+ "line": 54,
1229
+ "character": 3
1230
+ },
1231
+ "signature": "(property) JestTester.configPath: any",
1232
+ "name": "configPath",
1233
+ "type": {
1234
+ "__schema": "InferenceTypeSchema",
1235
+ "location": {
1236
+ "filePath": "jest.tester.ts",
1237
+ "line": 54,
1238
+ "character": 3
1239
+ },
1240
+ "type": "any"
1241
+ },
1242
+ "isOptional": true,
1243
+ "defaultValue": "this.jestConfig"
1244
+ },
1245
+ {
1246
+ "__schema": "VariableLikeSchema",
1247
+ "location": {
1248
+ "filePath": "jest.tester.ts",
1249
+ "line": 56,
1250
+ "character": 3
1251
+ },
1252
+ "signature": "(property) JestTester.displayName: string",
1253
+ "name": "displayName",
1254
+ "type": {
1255
+ "__schema": "InferenceTypeSchema",
1256
+ "location": {
1257
+ "filePath": "jest.tester.ts",
1258
+ "line": 56,
1259
+ "character": 3
1260
+ },
1261
+ "type": "string"
1262
+ },
1263
+ "isOptional": true,
1264
+ "defaultValue": "'Jest'"
1265
+ },
1266
+ {
1267
+ "__schema": "VariableLikeSchema",
1268
+ "location": {
1269
+ "filePath": "jest.tester.ts",
1270
+ "line": 58,
1271
+ "character": 3
1272
+ },
1273
+ "signature": "(property) JestTester._callback: CallbackFn | undefined",
1274
+ "name": "_callback",
1275
+ "type": {
1276
+ "__schema": "TypeUnionSchema",
1277
+ "location": {
1278
+ "filePath": "jest.tester.ts",
1279
+ "line": 58,
1280
+ "character": 14
1281
+ },
1282
+ "types": [
1283
+ {
1284
+ "__schema": "TypeRefSchema",
1285
+ "location": {
1286
+ "filePath": "jest.tester.ts",
1287
+ "line": 58,
1288
+ "character": 14
1289
+ },
1290
+ "name": "CallbackFn",
1291
+ "componentId": {
1292
+ "scope": "teambit.defender",
1293
+ "name": "tester"
1294
+ }
1295
+ },
1296
+ {
1297
+ "__schema": "KeywordTypeSchema",
1298
+ "location": {
1299
+ "filePath": "jest.tester.ts",
1300
+ "line": 58,
1301
+ "character": 27
1302
+ },
1303
+ "name": "undefined"
1304
+ }
1305
+ ]
1306
+ },
1307
+ "isOptional": false
1308
+ },
1309
+ {
1310
+ "__schema": "FunctionLikeSchema",
1311
+ "location": {
1312
+ "filePath": "jest.tester.ts",
1313
+ "line": 60,
1314
+ "character": 3
1315
+ },
1316
+ "signature": "(method) JestTester.displayConfig(): string",
1317
+ "name": "displayConfig",
1318
+ "params": [],
1319
+ "returnType": {
1320
+ "__schema": "InferenceTypeSchema",
1321
+ "location": {
1322
+ "filePath": "jest.tester.ts",
1323
+ "line": 60,
1324
+ "character": 3
1325
+ },
1326
+ "type": "string"
1327
+ },
1328
+ "modifiers": []
1329
+ },
1330
+ {
1331
+ "__schema": "FunctionLikeSchema",
1332
+ "location": {
1333
+ "filePath": "jest.tester.ts",
1334
+ "line": 64,
1335
+ "character": 3
1336
+ },
1337
+ "signature": "(method) JestTester.version(): any",
1338
+ "name": "version",
1339
+ "params": [],
1340
+ "returnType": {
1341
+ "__schema": "InferenceTypeSchema",
1342
+ "location": {
1343
+ "filePath": "jest.tester.ts",
1344
+ "line": 64,
1345
+ "character": 3
1346
+ },
1347
+ "type": "any"
1348
+ },
1349
+ "modifiers": []
1350
+ },
1351
+ {
1352
+ "__schema": "FunctionLikeSchema",
1353
+ "location": {
1354
+ "filePath": "jest.tester.ts",
1355
+ "line": 154,
1356
+ "character": 3
1357
+ },
1358
+ "signature": "(method) JestTester.onTestRunComplete(callback: CallbackFn): Promise<void>",
1359
+ "name": "onTestRunComplete",
1360
+ "params": [
1361
+ {
1362
+ "__schema": "ParameterSchema",
1363
+ "location": {
1364
+ "filePath": "jest.tester.ts",
1365
+ "line": 154,
1366
+ "character": 27
1367
+ },
1368
+ "name": "callback",
1369
+ "type": {
1370
+ "__schema": "TypeRefSchema",
1371
+ "location": {
1372
+ "filePath": "jest.tester.ts",
1373
+ "line": 154,
1374
+ "character": 37
1375
+ },
1376
+ "name": "CallbackFn",
1377
+ "componentId": {
1378
+ "scope": "teambit.defender",
1379
+ "name": "tester"
1380
+ }
1381
+ },
1382
+ "isOptional": false,
1383
+ "isSpread": false
1384
+ }
1385
+ ],
1386
+ "returnType": {
1387
+ "__schema": "InferenceTypeSchema",
1388
+ "location": {
1389
+ "filePath": "jest.tester.ts",
1390
+ "line": 154,
1391
+ "character": 3
1392
+ },
1393
+ "type": "Promise<void>"
1394
+ },
1395
+ "modifiers": [
1396
+ "async"
1397
+ ]
1398
+ },
1399
+ {
1400
+ "__schema": "FunctionLikeSchema",
1401
+ "location": {
1402
+ "filePath": "jest.tester.ts",
1403
+ "line": 158,
1404
+ "character": 3
1405
+ },
1406
+ "signature": "(method) JestTester.test(context: TesterContext): Promise<Tests>",
1407
+ "name": "test",
1408
+ "params": [
1409
+ {
1410
+ "__schema": "ParameterSchema",
1411
+ "location": {
1412
+ "filePath": "jest.tester.ts",
1413
+ "line": 158,
1414
+ "character": 14
1415
+ },
1416
+ "name": "context",
1417
+ "type": {
1418
+ "__schema": "TypeRefSchema",
1419
+ "location": {
1420
+ "filePath": "jest.tester.ts",
1421
+ "line": 158,
1422
+ "character": 23
1423
+ },
1424
+ "name": "TesterContext",
1425
+ "componentId": {
1426
+ "scope": "teambit.defender",
1427
+ "name": "tester"
1428
+ }
1429
+ },
1430
+ "isOptional": false,
1431
+ "isSpread": false
1432
+ }
1433
+ ],
1434
+ "returnType": {
1435
+ "__schema": "TypeRefSchema",
1436
+ "location": {
1437
+ "filePath": "jest.tester.ts",
1438
+ "line": 158,
1439
+ "character": 39
1440
+ },
1441
+ "name": "Promise",
1442
+ "typeArgs": [
1443
+ {
1444
+ "__schema": "TypeRefSchema",
1445
+ "location": {
1446
+ "filePath": "jest.tester.ts",
1447
+ "line": 158,
1448
+ "character": 47
1449
+ },
1450
+ "name": "Tests",
1451
+ "componentId": {
1452
+ "scope": "teambit.defender",
1453
+ "name": "tester"
1454
+ }
1455
+ }
1456
+ ]
1457
+ },
1458
+ "modifiers": [
1459
+ "async"
1460
+ ]
1461
+ },
1462
+ {
1463
+ "__schema": "FunctionLikeSchema",
1464
+ "location": {
1465
+ "filePath": "jest.tester.ts",
1466
+ "line": 226,
1467
+ "character": 3
1468
+ },
1469
+ "signature": "(method) JestTester.watch(context: TesterContext): Promise<Tests>",
1470
+ "name": "watch",
1471
+ "params": [
1472
+ {
1473
+ "__schema": "ParameterSchema",
1474
+ "location": {
1475
+ "filePath": "jest.tester.ts",
1476
+ "line": 226,
1477
+ "character": 15
1478
+ },
1479
+ "name": "context",
1480
+ "type": {
1481
+ "__schema": "TypeRefSchema",
1482
+ "location": {
1483
+ "filePath": "jest.tester.ts",
1484
+ "line": 226,
1485
+ "character": 24
1486
+ },
1487
+ "name": "TesterContext",
1488
+ "componentId": {
1489
+ "scope": "teambit.defender",
1490
+ "name": "tester"
1491
+ }
1492
+ },
1493
+ "isOptional": false,
1494
+ "isSpread": false
1495
+ }
1496
+ ],
1497
+ "returnType": {
1498
+ "__schema": "TypeRefSchema",
1499
+ "location": {
1500
+ "filePath": "jest.tester.ts",
1501
+ "line": 226,
1502
+ "character": 40
1503
+ },
1504
+ "name": "Promise",
1505
+ "typeArgs": [
1506
+ {
1507
+ "__schema": "TypeRefSchema",
1508
+ "location": {
1509
+ "filePath": "jest.tester.ts",
1510
+ "line": 226,
1511
+ "character": 48
1512
+ },
1513
+ "name": "Tests",
1514
+ "componentId": {
1515
+ "scope": "teambit.defender",
1516
+ "name": "tester"
1517
+ }
1518
+ }
1519
+ ]
1520
+ },
1521
+ "modifiers": [
1522
+ "async"
1523
+ ]
1524
+ }
1525
+ ],
1526
+ "extendsNodes": [],
1527
+ "implementNodes": [
1528
+ {
1529
+ "__schema": "ExpressionWithTypeArgumentsSchema",
1530
+ "location": {
1531
+ "filePath": "jest.tester.ts",
1532
+ "line": 39,
1533
+ "character": 36
1534
+ },
1535
+ "name": "implements Tester",
1536
+ "typeArgs": [],
1537
+ "expression": {
1538
+ "__schema": "TypeRefSchema",
1539
+ "location": {
1540
+ "filePath": "jest.tester.ts",
1541
+ "line": 39,
1542
+ "character": 36
1543
+ },
1544
+ "name": "Tester",
1545
+ "componentId": {
1546
+ "_legacy": {
1547
+ "scope": "teambit.defender",
1548
+ "name": "jest",
1549
+ "version": "1.0.190"
1550
+ },
1551
+ "_scope": "teambit.defender"
1552
+ }
1553
+ }
1554
+ }
1555
+ ]
1556
+ }
1557
+ ],
1558
+ "internals": []
1559
+ },
1560
+ {
1561
+ "__schema": "ModuleSchema",
1562
+ "location": {
1563
+ "filePath": "jest.main.runtime.ts",
1564
+ "line": 1,
1565
+ "character": 1
1566
+ },
1567
+ "exports": [
1568
+ {
1569
+ "__schema": "VariableLikeSchema",
1570
+ "location": {
1571
+ "filePath": "jest.main.runtime.ts",
1572
+ "line": 8,
1573
+ "character": 14
1574
+ },
1575
+ "signature": "const WORKER_NAME: \"jest\"",
1576
+ "name": "WORKER_NAME",
1577
+ "type": {
1578
+ "__schema": "InferenceTypeSchema",
1579
+ "location": {
1580
+ "filePath": "jest.main.runtime.ts",
1581
+ "line": 8,
1582
+ "character": 14
1583
+ },
1584
+ "type": "\"jest\""
1585
+ },
1586
+ "isOptional": false,
1587
+ "defaultValue": "'jest'"
1588
+ },
1589
+ {
1590
+ "__schema": "ClassSchema",
1591
+ "location": {
1592
+ "filePath": "jest.main.runtime.ts",
1593
+ "line": 10,
1594
+ "character": 1
1595
+ },
1596
+ "signature": "class JestMain",
1597
+ "name": "JestMain",
1598
+ "members": [
1599
+ {
1600
+ "__schema": "ConstructorSchema",
1601
+ "location": {
1602
+ "filePath": "jest.main.runtime.ts",
1603
+ "line": 11,
1604
+ "character": 3
1605
+ },
1606
+ "signature": "constructor JestMain(jestWorker: HarmonyWorker<JestWorker>, logger: Logger): JestMain",
1607
+ "name": "constructor",
1608
+ "params": [
1609
+ {
1610
+ "__schema": "ParameterSchema",
1611
+ "location": {
1612
+ "filePath": "jest.main.runtime.ts",
1613
+ "line": 11,
1614
+ "character": 15
1615
+ },
1616
+ "name": "jestWorker",
1617
+ "type": {
1618
+ "__schema": "TypeRefSchema",
1619
+ "location": {
1620
+ "filePath": "jest.main.runtime.ts",
1621
+ "line": 11,
1622
+ "character": 35
1623
+ },
1624
+ "name": "HarmonyWorker",
1625
+ "componentId": {
1626
+ "scope": "teambit.harmony",
1627
+ "name": "worker"
1628
+ },
1629
+ "typeArgs": [
1630
+ {
1631
+ "__schema": "TypeRefSchema",
1632
+ "location": {
1633
+ "filePath": "jest.main.runtime.ts",
1634
+ "line": 11,
1635
+ "character": 49
1636
+ },
1637
+ "name": "JestWorker",
1638
+ "internalFilePath": "jest.worker.ts"
1639
+ }
1640
+ ]
1641
+ },
1642
+ "isOptional": false,
1643
+ "isSpread": false
1644
+ },
1645
+ {
1646
+ "__schema": "ParameterSchema",
1647
+ "location": {
1648
+ "filePath": "jest.main.runtime.ts",
1649
+ "line": 11,
1650
+ "character": 62
1651
+ },
1652
+ "name": "logger",
1653
+ "type": {
1654
+ "__schema": "TypeRefSchema",
1655
+ "location": {
1656
+ "filePath": "jest.main.runtime.ts",
1657
+ "line": 11,
1658
+ "character": 78
1659
+ },
1660
+ "name": "Logger",
1661
+ "componentId": {
1662
+ "scope": "teambit.harmony",
1663
+ "name": "logger"
1664
+ }
1665
+ },
1666
+ "isOptional": false,
1667
+ "isSpread": false
1668
+ }
1669
+ ],
1670
+ "returnType": {
1671
+ "__schema": "ThisTypeSchema",
1672
+ "location": {
1673
+ "filePath": "jest.main.runtime.ts",
1674
+ "line": 10,
1675
+ "character": 1
1676
+ },
1677
+ "name": "JestMain"
1678
+ },
1679
+ "modifiers": []
1680
+ },
1681
+ {
1682
+ "__schema": "FunctionLikeSchema",
1683
+ "location": {
1684
+ "filePath": "jest.main.runtime.ts",
1685
+ "line": 13,
1686
+ "character": 3
1687
+ },
1688
+ "signature": "(method) JestMain.createTester(jestConfig: any, jestModulePath?: string, opts?: JestTesterOptions): JestTester",
1689
+ "name": "createTester",
1690
+ "params": [
1691
+ {
1692
+ "__schema": "ParameterSchema",
1693
+ "location": {
1694
+ "filePath": "jest.main.runtime.ts",
1695
+ "line": 13,
1696
+ "character": 16
1697
+ },
1698
+ "name": "jestConfig",
1699
+ "type": {
1700
+ "__schema": "KeywordTypeSchema",
1701
+ "location": {
1702
+ "filePath": "jest.main.runtime.ts",
1703
+ "line": 13,
1704
+ "character": 28
1705
+ },
1706
+ "name": "any"
1707
+ },
1708
+ "isOptional": false,
1709
+ "isSpread": false
1710
+ },
1711
+ {
1712
+ "__schema": "ParameterSchema",
1713
+ "location": {
1714
+ "filePath": "jest.main.runtime.ts",
1715
+ "line": 13,
1716
+ "character": 33
1717
+ },
1718
+ "name": "jestModulePath",
1719
+ "type": {
1720
+ "__schema": "InferenceTypeSchema",
1721
+ "location": {
1722
+ "filePath": "jest.main.runtime.ts",
1723
+ "line": 13,
1724
+ "character": 33
1725
+ },
1726
+ "type": "string"
1727
+ },
1728
+ "isOptional": true,
1729
+ "defaultValue": "require.resolve('jest')",
1730
+ "isSpread": false
1731
+ },
1732
+ {
1733
+ "__schema": "ParameterSchema",
1734
+ "location": {
1735
+ "filePath": "jest.main.runtime.ts",
1736
+ "line": 13,
1737
+ "character": 75
1738
+ },
1739
+ "name": "opts",
1740
+ "type": {
1741
+ "__schema": "TypeRefSchema",
1742
+ "location": {
1743
+ "filePath": "jest.main.runtime.ts",
1744
+ "line": 13,
1745
+ "character": 82
1746
+ },
1747
+ "name": "JestTesterOptions",
1748
+ "internalFilePath": "jest.tester.ts"
1749
+ },
1750
+ "isOptional": true,
1751
+ "isSpread": false
1752
+ }
1753
+ ],
1754
+ "returnType": {
1755
+ "__schema": "TypeRefSchema",
1756
+ "location": {
1757
+ "filePath": "jest.main.runtime.ts",
1758
+ "line": 13,
1759
+ "character": 3
1760
+ },
1761
+ "name": "JestTester"
1762
+ },
1763
+ "modifiers": []
1764
+ },
1765
+ {
1766
+ "__schema": "VariableLikeSchema",
1767
+ "location": {
1768
+ "filePath": "jest.main.runtime.ts",
1769
+ "line": 17,
1770
+ "character": 3
1771
+ },
1772
+ "signature": "(property) JestMain.runtime: RuntimeDefinition",
1773
+ "name": "runtime",
1774
+ "type": {
1775
+ "__schema": "InferenceTypeSchema",
1776
+ "location": {
1777
+ "filePath": "jest.main.runtime.ts",
1778
+ "line": 17,
1779
+ "character": 3
1780
+ },
1781
+ "type": "RuntimeDefinition"
1782
+ },
1783
+ "isOptional": true,
1784
+ "defaultValue": "MainRuntime"
1785
+ },
1786
+ {
1787
+ "__schema": "VariableLikeSchema",
1788
+ "location": {
1789
+ "filePath": "jest.main.runtime.ts",
1790
+ "line": 18,
1791
+ "character": 3
1792
+ },
1793
+ "signature": "(property) JestMain.dependencies: Aspect[]",
1794
+ "name": "dependencies",
1795
+ "type": {
1796
+ "__schema": "InferenceTypeSchema",
1797
+ "location": {
1798
+ "filePath": "jest.main.runtime.ts",
1799
+ "line": 18,
1800
+ "character": 3
1801
+ },
1802
+ "type": "Aspect[]"
1803
+ },
1804
+ "isOptional": true,
1805
+ "defaultValue": "[WorkerAspect, LoggerAspect]"
1806
+ },
1807
+ {
1808
+ "__schema": "FunctionLikeSchema",
1809
+ "location": {
1810
+ "filePath": "jest.main.runtime.ts",
1811
+ "line": 20,
1812
+ "character": 3
1813
+ },
1814
+ "signature": "(method) JestMain.provider([worker, loggerAspect]: [WorkerMain, LoggerMain]): Promise<JestMain>",
1815
+ "name": "provider",
1816
+ "params": [
1817
+ {
1818
+ "__schema": "ParameterSchema",
1819
+ "location": {
1820
+ "filePath": "jest.main.runtime.ts",
1821
+ "line": 20,
1822
+ "character": 25
1823
+ },
1824
+ "name": "[ worker, loggerAspect ]",
1825
+ "type": {
1826
+ "__schema": "TupleTypeSchema",
1827
+ "location": {
1828
+ "filePath": "jest.main.runtime.ts",
1829
+ "line": 20,
1830
+ "character": 49
1831
+ },
1832
+ "elements": [
1833
+ {
1834
+ "__schema": "TypeRefSchema",
1835
+ "location": {
1836
+ "filePath": "jest.main.runtime.ts",
1837
+ "line": 20,
1838
+ "character": 50
1839
+ },
1840
+ "name": "WorkerMain",
1841
+ "componentId": {
1842
+ "scope": "teambit.harmony",
1843
+ "name": "worker"
1844
+ }
1845
+ },
1846
+ {
1847
+ "__schema": "TypeRefSchema",
1848
+ "location": {
1849
+ "filePath": "jest.main.runtime.ts",
1850
+ "line": 20,
1851
+ "character": 62
1852
+ },
1853
+ "name": "LoggerMain",
1854
+ "componentId": {
1855
+ "scope": "teambit.harmony",
1856
+ "name": "logger"
1857
+ }
1858
+ }
1859
+ ]
1860
+ },
1861
+ "isOptional": false,
1862
+ "isSpread": false
1863
+ }
1864
+ ],
1865
+ "returnType": {
1866
+ "__schema": "InferenceTypeSchema",
1867
+ "location": {
1868
+ "filePath": "jest.main.runtime.ts",
1869
+ "line": 20,
1870
+ "character": 3
1871
+ },
1872
+ "type": "Promise<JestMain>"
1873
+ },
1874
+ "modifiers": [
1875
+ "static",
1876
+ "async"
1877
+ ]
1878
+ }
1879
+ ],
1880
+ "extendsNodes": [],
1881
+ "implementNodes": []
1882
+ }
1883
+ ],
1884
+ "internals": [
1885
+ {
1886
+ "__schema": "UnImplementedSchema",
1887
+ "location": {
1888
+ "filePath": "jest.main.runtime.ts",
1889
+ "line": 27,
1890
+ "character": 1
1891
+ },
1892
+ "name": "JestAspect.addRuntime(JestMain);",
1893
+ "type": "ExpressionStatement"
1894
+ }
1895
+ ]
1896
+ },
1897
+ {
1898
+ "__schema": "ModuleSchema",
1899
+ "location": {
1900
+ "filePath": "jest.aspect.ts",
1901
+ "line": 1,
1902
+ "character": 1
1903
+ },
1904
+ "exports": [
1905
+ {
1906
+ "__schema": "VariableLikeSchema",
1907
+ "location": {
1908
+ "filePath": "jest.aspect.ts",
1909
+ "line": 3,
1910
+ "character": 14
1911
+ },
1912
+ "signature": "const JestAspect: Aspect",
1913
+ "name": "JestAspect",
1914
+ "type": {
1915
+ "__schema": "TypeRefSchema",
1916
+ "location": {
1917
+ "filePath": "jest.aspect.ts",
1918
+ "line": 3,
1919
+ "character": 14
1920
+ },
1921
+ "name": "Aspect",
1922
+ "componentId": {
1923
+ "scope": "teambit.harmony",
1924
+ "name": "harmony",
1925
+ "version": "0.4.6"
1926
+ }
1927
+ },
1928
+ "isOptional": false,
1929
+ "defaultValue": "Aspect.create({\n id: 'teambit.defender/jest',\n})"
1930
+ }
1931
+ ],
1932
+ "internals": []
1933
+ }
1934
+ ],
1935
+ "componentId": {
1936
+ "scope": "teambit.defender",
1937
+ "name": "jest",
1938
+ "version": "1.0.190"
1939
+ },
1940
+ "taggedModuleExports": []
1941
+ }