@teambit/jest 1.0.516 → 1.0.518

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