@teambit/jest 1.0.510 → 1.0.511

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