@teambit/tester 1.0.210 → 1.0.211

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.
@@ -157,14 +157,14 @@
157
157
  "__schema": "InterfaceSchema",
158
158
  "location": {
159
159
  "filePath": "tester.ts",
160
- "line": 124,
160
+ "line": 134,
161
161
  "character": 1
162
162
  },
163
163
  "doc": {
164
164
  "__schema": "DocSchema",
165
165
  "location": {
166
166
  "filePath": "tester.ts",
167
- "line": 121,
167
+ "line": 131,
168
168
  "character": 1
169
169
  },
170
170
  "raw": "/**\n * tester interface allows extensions to implement a component tester into bit.\n */",
@@ -177,14 +177,14 @@
177
177
  "__schema": "VariableLikeSchema",
178
178
  "location": {
179
179
  "filePath": "tester.ts",
180
- "line": 128,
180
+ "line": 138,
181
181
  "character": 3
182
182
  },
183
183
  "doc": {
184
184
  "__schema": "DocSchema",
185
185
  "location": {
186
186
  "filePath": "tester.ts",
187
- "line": 125,
187
+ "line": 135,
188
188
  "character": 3
189
189
  },
190
190
  "raw": "/**\n * display name of the tester.\n */",
@@ -196,7 +196,7 @@
196
196
  "__schema": "KeywordTypeSchema",
197
197
  "location": {
198
198
  "filePath": "tester.ts",
199
- "line": 128,
199
+ "line": 138,
200
200
  "character": 17
201
201
  },
202
202
  "name": "string"
@@ -207,14 +207,14 @@
207
207
  "__schema": "VariableLikeSchema",
208
208
  "location": {
209
209
  "filePath": "tester.ts",
210
- "line": 133,
210
+ "line": 143,
211
211
  "character": 3
212
212
  },
213
213
  "doc": {
214
214
  "__schema": "DocSchema",
215
215
  "location": {
216
216
  "filePath": "tester.ts",
217
- "line": 130,
217
+ "line": 140,
218
218
  "character": 3
219
219
  },
220
220
  "raw": "/**\n * icon of the tester.\n */",
@@ -226,7 +226,7 @@
226
226
  "__schema": "KeywordTypeSchema",
227
227
  "location": {
228
228
  "filePath": "tester.ts",
229
- "line": 133,
229
+ "line": 143,
230
230
  "character": 10
231
231
  },
232
232
  "name": "string"
@@ -237,14 +237,14 @@
237
237
  "__schema": "FunctionLikeSchema",
238
238
  "location": {
239
239
  "filePath": "tester.ts",
240
- "line": 138,
240
+ "line": 148,
241
241
  "character": 3
242
242
  },
243
243
  "doc": {
244
244
  "__schema": "DocSchema",
245
245
  "location": {
246
246
  "filePath": "tester.ts",
247
- "line": 135,
247
+ "line": 145,
248
248
  "character": 3
249
249
  },
250
250
  "raw": "/**\n * serialized config of the tester.\n */",
@@ -257,7 +257,7 @@
257
257
  "__schema": "KeywordTypeSchema",
258
258
  "location": {
259
259
  "filePath": "tester.ts",
260
- "line": 138,
260
+ "line": 148,
261
261
  "character": 21
262
262
  },
263
263
  "name": "string"
@@ -268,14 +268,14 @@
268
268
  "__schema": "VariableLikeSchema",
269
269
  "location": {
270
270
  "filePath": "tester.ts",
271
- "line": 143,
271
+ "line": 153,
272
272
  "character": 3
273
273
  },
274
274
  "doc": {
275
275
  "__schema": "DocSchema",
276
276
  "location": {
277
277
  "filePath": "tester.ts",
278
- "line": 140,
278
+ "line": 150,
279
279
  "character": 3
280
280
  },
281
281
  "raw": "/**\n * path to the config in the filesystem.\n */",
@@ -287,7 +287,7 @@
287
287
  "__schema": "KeywordTypeSchema",
288
288
  "location": {
289
289
  "filePath": "tester.ts",
290
- "line": 143,
290
+ "line": 153,
291
291
  "character": 16
292
292
  },
293
293
  "name": "string"
@@ -298,14 +298,14 @@
298
298
  "__schema": "VariableLikeSchema",
299
299
  "location": {
300
300
  "filePath": "tester.ts",
301
- "line": 148,
301
+ "line": 158,
302
302
  "character": 3
303
303
  },
304
304
  "doc": {
305
305
  "__schema": "DocSchema",
306
306
  "location": {
307
307
  "filePath": "tester.ts",
308
- "line": 145,
308
+ "line": 155,
309
309
  "character": 3
310
310
  },
311
311
  "raw": "/**\n * id of the tester.\n */",
@@ -317,7 +317,7 @@
317
317
  "__schema": "KeywordTypeSchema",
318
318
  "location": {
319
319
  "filePath": "tester.ts",
320
- "line": 148,
320
+ "line": 158,
321
321
  "character": 7
322
322
  },
323
323
  "name": "string"
@@ -328,14 +328,14 @@
328
328
  "__schema": "FunctionLikeSchema",
329
329
  "location": {
330
330
  "filePath": "tester.ts",
331
- "line": 154,
331
+ "line": 164,
332
332
  "character": 3
333
333
  },
334
334
  "doc": {
335
335
  "__schema": "DocSchema",
336
336
  "location": {
337
337
  "filePath": "tester.ts",
338
- "line": 150,
338
+ "line": 160,
339
339
  "character": 3
340
340
  },
341
341
  "raw": "/**\n * on test run complete. (applies only during watch)\n * @param callback\n */",
@@ -345,7 +345,7 @@
345
345
  "__schema": "PropertyLikeTagSchema",
346
346
  "location": {
347
347
  "filePath": "tester.ts",
348
- "line": 152,
348
+ "line": 162,
349
349
  "character": 6
350
350
  },
351
351
  "name": "callback",
@@ -360,7 +360,7 @@
360
360
  "__schema": "ParameterSchema",
361
361
  "location": {
362
362
  "filePath": "tester.ts",
363
- "line": 154,
363
+ "line": 164,
364
364
  "character": 22
365
365
  },
366
366
  "name": "callback",
@@ -368,7 +368,7 @@
368
368
  "__schema": "TypeRefSchema",
369
369
  "location": {
370
370
  "filePath": "tester.ts",
371
- "line": 154,
371
+ "line": 164,
372
372
  "character": 32
373
373
  },
374
374
  "name": "CallbackFn"
@@ -381,7 +381,7 @@
381
381
  "__schema": "TypeRefSchema",
382
382
  "location": {
383
383
  "filePath": "tester.ts",
384
- "line": 154,
384
+ "line": 164,
385
385
  "character": 45
386
386
  },
387
387
  "name": "Promise",
@@ -390,7 +390,7 @@
390
390
  "__schema": "KeywordTypeSchema",
391
391
  "location": {
392
392
  "filePath": "tester.ts",
393
- "line": 154,
393
+ "line": 164,
394
394
  "character": 53
395
395
  },
396
396
  "name": "void"
@@ -403,14 +403,14 @@
403
403
  "__schema": "FunctionLikeSchema",
404
404
  "location": {
405
405
  "filePath": "tester.ts",
406
- "line": 159,
406
+ "line": 169,
407
407
  "character": 3
408
408
  },
409
409
  "doc": {
410
410
  "__schema": "DocSchema",
411
411
  "location": {
412
412
  "filePath": "tester.ts",
413
- "line": 156,
413
+ "line": 166,
414
414
  "character": 3
415
415
  },
416
416
  "raw": "/**\n * execute tests on all components in the given execution context.\n */",
@@ -423,7 +423,7 @@
423
423
  "__schema": "ParameterSchema",
424
424
  "location": {
425
425
  "filePath": "tester.ts",
426
- "line": 159,
426
+ "line": 169,
427
427
  "character": 8
428
428
  },
429
429
  "name": "context",
@@ -431,7 +431,7 @@
431
431
  "__schema": "TypeRefSchema",
432
432
  "location": {
433
433
  "filePath": "tester.ts",
434
- "line": 159,
434
+ "line": 169,
435
435
  "character": 17
436
436
  },
437
437
  "name": "TesterContext"
@@ -444,7 +444,7 @@
444
444
  "__schema": "TypeRefSchema",
445
445
  "location": {
446
446
  "filePath": "tester.ts",
447
- "line": 159,
447
+ "line": 169,
448
448
  "character": 33
449
449
  },
450
450
  "name": "Promise",
@@ -453,7 +453,7 @@
453
453
  "__schema": "TypeRefSchema",
454
454
  "location": {
455
455
  "filePath": "tester.ts",
456
- "line": 159,
456
+ "line": 169,
457
457
  "character": 41
458
458
  },
459
459
  "name": "Tests"
@@ -466,14 +466,14 @@
466
466
  "__schema": "FunctionLikeSchema",
467
467
  "location": {
468
468
  "filePath": "tester.ts",
469
- "line": 164,
469
+ "line": 174,
470
470
  "character": 3
471
471
  },
472
472
  "doc": {
473
473
  "__schema": "DocSchema",
474
474
  "location": {
475
475
  "filePath": "tester.ts",
476
- "line": 161,
476
+ "line": 171,
477
477
  "character": 3
478
478
  },
479
479
  "raw": "/**\n * watch tests on all components\n */",
@@ -486,7 +486,7 @@
486
486
  "__schema": "ParameterSchema",
487
487
  "location": {
488
488
  "filePath": "tester.ts",
489
- "line": 164,
489
+ "line": 174,
490
490
  "character": 10
491
491
  },
492
492
  "name": "context",
@@ -494,7 +494,7 @@
494
494
  "__schema": "TypeRefSchema",
495
495
  "location": {
496
496
  "filePath": "tester.ts",
497
- "line": 164,
497
+ "line": 174,
498
498
  "character": 19
499
499
  },
500
500
  "name": "TesterContext"
@@ -507,7 +507,7 @@
507
507
  "__schema": "TypeRefSchema",
508
508
  "location": {
509
509
  "filePath": "tester.ts",
510
- "line": 164,
510
+ "line": 174,
511
511
  "character": 35
512
512
  },
513
513
  "name": "Promise",
@@ -516,7 +516,7 @@
516
516
  "__schema": "TypeRefSchema",
517
517
  "location": {
518
518
  "filePath": "tester.ts",
519
- "line": 164,
519
+ "line": 174,
520
520
  "character": 43
521
521
  },
522
522
  "name": "Tests"
@@ -529,14 +529,14 @@
529
529
  "__schema": "FunctionLikeSchema",
530
530
  "location": {
531
531
  "filePath": "tester.ts",
532
- "line": 169,
532
+ "line": 179,
533
533
  "character": 3
534
534
  },
535
535
  "doc": {
536
536
  "__schema": "DocSchema",
537
537
  "location": {
538
538
  "filePath": "tester.ts",
539
- "line": 166,
539
+ "line": 176,
540
540
  "character": 3
541
541
  },
542
542
  "raw": "/**\n * return the tester version.\n */",
@@ -549,7 +549,7 @@
549
549
  "__schema": "KeywordTypeSchema",
550
550
  "location": {
551
551
  "filePath": "tester.ts",
552
- "line": 169,
552
+ "line": 179,
553
553
  "character": 14
554
554
  },
555
555
  "name": "string"
@@ -715,6 +715,36 @@
715
715
  "line": 80,
716
716
  "character": 3
717
717
  },
718
+ "raw": "/**\n * list of source spec files to test.\n */",
719
+ "comment": "list of source spec files to test."
720
+ },
721
+ "signature": "(property) TesterContext.sourceSpecFiles?: SpecFiles | undefined",
722
+ "name": "sourceSpecFiles",
723
+ "type": {
724
+ "__schema": "TypeRefSchema",
725
+ "location": {
726
+ "filePath": "tester.ts",
727
+ "line": 83,
728
+ "character": 21
729
+ },
730
+ "name": "SpecFiles"
731
+ },
732
+ "isOptional": true
733
+ },
734
+ {
735
+ "__schema": "VariableLikeSchema",
736
+ "location": {
737
+ "filePath": "tester.ts",
738
+ "line": 88,
739
+ "character": 3
740
+ },
741
+ "doc": {
742
+ "__schema": "DocSchema",
743
+ "location": {
744
+ "filePath": "tester.ts",
745
+ "line": 85,
746
+ "character": 3
747
+ },
718
748
  "raw": "/**\n * rootPath of the component workspace or the capsule root dir (during build).\n */",
719
749
  "comment": "rootPath of the component workspace or the capsule root dir (during build)."
720
750
  },
@@ -724,7 +754,7 @@
724
754
  "__schema": "KeywordTypeSchema",
725
755
  "location": {
726
756
  "filePath": "tester.ts",
727
- "line": 83,
757
+ "line": 88,
728
758
  "character": 13
729
759
  },
730
760
  "name": "string"
@@ -735,14 +765,14 @@
735
765
  "__schema": "VariableLikeSchema",
736
766
  "location": {
737
767
  "filePath": "tester.ts",
738
- "line": 88,
768
+ "line": 93,
739
769
  "character": 3
740
770
  },
741
771
  "doc": {
742
772
  "__schema": "DocSchema",
743
773
  "location": {
744
774
  "filePath": "tester.ts",
745
- "line": 85,
775
+ "line": 90,
746
776
  "character": 3
747
777
  },
748
778
  "raw": "/**\n * determines whether tester is expected to run in debug mode.\n */",
@@ -754,7 +784,7 @@
754
784
  "__schema": "KeywordTypeSchema",
755
785
  "location": {
756
786
  "filePath": "tester.ts",
757
- "line": 88,
787
+ "line": 93,
758
788
  "character": 11
759
789
  },
760
790
  "name": "boolean"
@@ -765,14 +795,14 @@
765
795
  "__schema": "VariableLikeSchema",
766
796
  "location": {
767
797
  "filePath": "tester.ts",
768
- "line": 93,
798
+ "line": 98,
769
799
  "character": 3
770
800
  },
771
801
  "doc": {
772
802
  "__schema": "DocSchema",
773
803
  "location": {
774
804
  "filePath": "tester.ts",
775
- "line": 90,
805
+ "line": 95,
776
806
  "character": 3
777
807
  },
778
808
  "raw": "/**\n * is start from ui\n */",
@@ -784,7 +814,7 @@
784
814
  "__schema": "KeywordTypeSchema",
785
815
  "location": {
786
816
  "filePath": "tester.ts",
787
- "line": 93,
817
+ "line": 98,
788
818
  "character": 8
789
819
  },
790
820
  "name": "boolean"
@@ -795,14 +825,14 @@
795
825
  "__schema": "VariableLikeSchema",
796
826
  "location": {
797
827
  "filePath": "tester.ts",
798
- "line": 98,
828
+ "line": 103,
799
829
  "character": 3
800
830
  },
801
831
  "doc": {
802
832
  "__schema": "DocSchema",
803
833
  "location": {
804
834
  "filePath": "tester.ts",
805
- "line": 95,
835
+ "line": 100,
806
836
  "character": 3
807
837
  },
808
838
  "raw": "/**\n * determines whether to start the tester in watch mode.\n */",
@@ -814,7 +844,7 @@
814
844
  "__schema": "KeywordTypeSchema",
815
845
  "location": {
816
846
  "filePath": "tester.ts",
817
- "line": 98,
847
+ "line": 103,
818
848
  "character": 11
819
849
  },
820
850
  "name": "boolean"
@@ -825,14 +855,14 @@
825
855
  "__schema": "VariableLikeSchema",
826
856
  "location": {
827
857
  "filePath": "tester.ts",
828
- "line": 103,
858
+ "line": 108,
829
859
  "character": 3
830
860
  },
831
861
  "doc": {
832
862
  "__schema": "DocSchema",
833
863
  "location": {
834
864
  "filePath": "tester.ts",
835
- "line": 100,
865
+ "line": 105,
836
866
  "character": 3
837
867
  },
838
868
  "raw": "/**\n * whether the tester should show code coverage\n */",
@@ -844,7 +874,7 @@
844
874
  "__schema": "KeywordTypeSchema",
845
875
  "location": {
846
876
  "filePath": "tester.ts",
847
- "line": 103,
877
+ "line": 108,
848
878
  "character": 14
849
879
  },
850
880
  "name": "boolean"
@@ -855,14 +885,14 @@
855
885
  "__schema": "VariableLikeSchema",
856
886
  "location": {
857
887
  "filePath": "tester.ts",
858
- "line": 108,
888
+ "line": 113,
859
889
  "character": 3
860
890
  },
861
891
  "doc": {
862
892
  "__schema": "DocSchema",
863
893
  "location": {
864
894
  "filePath": "tester.ts",
865
- "line": 105,
895
+ "line": 110,
866
896
  "character": 3
867
897
  },
868
898
  "raw": "/**\n * array of patterns to test.\n */",
@@ -874,7 +904,7 @@
874
904
  "__schema": "TypeRefSchema",
875
905
  "location": {
876
906
  "filePath": "tester.ts",
877
- "line": 108,
907
+ "line": 113,
878
908
  "character": 3
879
909
  },
880
910
  "name": "ComponentPatternsMap"
@@ -892,7 +922,37 @@
892
922
  "__schema": "DocSchema",
893
923
  "location": {
894
924
  "filePath": "tester.ts",
895
- "line": 110,
925
+ "line": 115,
926
+ "character": 3
927
+ },
928
+ "raw": "/**\n * array of source files patterns to test.\n */",
929
+ "comment": "array of source files patterns to test."
930
+ },
931
+ "signature": "(property) TesterContext.sourcePatterns?: ComponentPatternsMap | undefined",
932
+ "name": "sourcePatterns",
933
+ "type": {
934
+ "__schema": "TypeRefSchema",
935
+ "location": {
936
+ "filePath": "tester.ts",
937
+ "line": 118,
938
+ "character": 20
939
+ },
940
+ "name": "ComponentPatternsMap"
941
+ },
942
+ "isOptional": true
943
+ },
944
+ {
945
+ "__schema": "VariableLikeSchema",
946
+ "location": {
947
+ "filePath": "tester.ts",
948
+ "line": 128,
949
+ "character": 3
950
+ },
951
+ "doc": {
952
+ "__schema": "DocSchema",
953
+ "location": {
954
+ "filePath": "tester.ts",
955
+ "line": 120,
896
956
  "character": 3
897
957
  },
898
958
  "raw": "/**\n *\n * additional test host dependencies\n * This can be used in cases when you want specific dependencies to be resolved from the env during testing\n * but you don't want these dependencies as peer dependencies of the component (as they are not used during runtime)\n * An example for this is @angular/compiler, which during running tests you want to resolve from the env, but you don't\n * need it during component runtime.\n */",
@@ -902,7 +962,7 @@
902
962
  "__schema": "TagSchema",
903
963
  "location": {
904
964
  "filePath": "tester.ts",
905
- "line": 115,
965
+ "line": 125,
906
966
  "character": 29
907
967
  },
908
968
  "tagName": "angular",
@@ -916,14 +976,14 @@
916
976
  "__schema": "TypeArraySchema",
917
977
  "location": {
918
978
  "filePath": "tester.ts",
919
- "line": 118,
979
+ "line": 128,
920
980
  "character": 32
921
981
  },
922
982
  "type": {
923
983
  "__schema": "KeywordTypeSchema",
924
984
  "location": {
925
985
  "filePath": "tester.ts",
926
- "line": 118,
986
+ "line": 128,
927
987
  "character": 32
928
988
  },
929
989
  "name": "string"
@@ -954,7 +1014,7 @@
954
1014
  "_legacy": {
955
1015
  "scope": "teambit.defender",
956
1016
  "name": "tester",
957
- "version": "1.0.210"
1017
+ "version": "1.0.211"
958
1018
  },
959
1019
  "_scope": "teambit.defender"
960
1020
  }
@@ -966,7 +1026,7 @@
966
1026
  "__schema": "TypeSchema",
967
1027
  "location": {
968
1028
  "filePath": "tester.ts",
969
- "line": 172,
1029
+ "line": 182,
970
1030
  "character": 1
971
1031
  },
972
1032
  "signature": "type CallbackFn = (testSuite: Tests) => void",
@@ -975,7 +1035,7 @@
975
1035
  "__schema": "FunctionLikeSchema",
976
1036
  "location": {
977
1037
  "filePath": "tester.ts",
978
- "line": 172,
1038
+ "line": 182,
979
1039
  "character": 26
980
1040
  },
981
1041
  "signature": "(testSuite: Tests): void",
@@ -985,7 +1045,7 @@
985
1045
  "__schema": "ParameterSchema",
986
1046
  "location": {
987
1047
  "filePath": "tester.ts",
988
- "line": 172,
1048
+ "line": 182,
989
1049
  "character": 27
990
1050
  },
991
1051
  "name": "testSuite",
@@ -993,7 +1053,7 @@
993
1053
  "__schema": "TypeRefSchema",
994
1054
  "location": {
995
1055
  "filePath": "tester.ts",
996
- "line": 172,
1056
+ "line": 182,
997
1057
  "character": 38
998
1058
  },
999
1059
  "name": "Tests"
@@ -1006,7 +1066,7 @@
1006
1066
  "__schema": "KeywordTypeSchema",
1007
1067
  "location": {
1008
1068
  "filePath": "tester.ts",
1009
- "line": 172,
1069
+ "line": 182,
1010
1070
  "character": 48
1011
1071
  },
1012
1072
  "name": "void"
@@ -3619,6 +3679,36 @@
3619
3679
  "line": 80,
3620
3680
  "character": 3
3621
3681
  },
3682
+ "raw": "/**\n * list of source spec files to test.\n */",
3683
+ "comment": "list of source spec files to test."
3684
+ },
3685
+ "signature": "(property) TesterContext.sourceSpecFiles?: SpecFiles | undefined",
3686
+ "name": "sourceSpecFiles",
3687
+ "type": {
3688
+ "__schema": "TypeRefSchema",
3689
+ "location": {
3690
+ "filePath": "tester.ts",
3691
+ "line": 83,
3692
+ "character": 21
3693
+ },
3694
+ "name": "SpecFiles"
3695
+ },
3696
+ "isOptional": true
3697
+ },
3698
+ {
3699
+ "__schema": "VariableLikeSchema",
3700
+ "location": {
3701
+ "filePath": "tester.ts",
3702
+ "line": 88,
3703
+ "character": 3
3704
+ },
3705
+ "doc": {
3706
+ "__schema": "DocSchema",
3707
+ "location": {
3708
+ "filePath": "tester.ts",
3709
+ "line": 85,
3710
+ "character": 3
3711
+ },
3622
3712
  "raw": "/**\n * rootPath of the component workspace or the capsule root dir (during build).\n */",
3623
3713
  "comment": "rootPath of the component workspace or the capsule root dir (during build)."
3624
3714
  },
@@ -3628,7 +3718,7 @@
3628
3718
  "__schema": "KeywordTypeSchema",
3629
3719
  "location": {
3630
3720
  "filePath": "tester.ts",
3631
- "line": 83,
3721
+ "line": 88,
3632
3722
  "character": 13
3633
3723
  },
3634
3724
  "name": "string"
@@ -3639,14 +3729,14 @@
3639
3729
  "__schema": "VariableLikeSchema",
3640
3730
  "location": {
3641
3731
  "filePath": "tester.ts",
3642
- "line": 88,
3732
+ "line": 93,
3643
3733
  "character": 3
3644
3734
  },
3645
3735
  "doc": {
3646
3736
  "__schema": "DocSchema",
3647
3737
  "location": {
3648
3738
  "filePath": "tester.ts",
3649
- "line": 85,
3739
+ "line": 90,
3650
3740
  "character": 3
3651
3741
  },
3652
3742
  "raw": "/**\n * determines whether tester is expected to run in debug mode.\n */",
@@ -3658,7 +3748,7 @@
3658
3748
  "__schema": "KeywordTypeSchema",
3659
3749
  "location": {
3660
3750
  "filePath": "tester.ts",
3661
- "line": 88,
3751
+ "line": 93,
3662
3752
  "character": 11
3663
3753
  },
3664
3754
  "name": "boolean"
@@ -3669,14 +3759,14 @@
3669
3759
  "__schema": "VariableLikeSchema",
3670
3760
  "location": {
3671
3761
  "filePath": "tester.ts",
3672
- "line": 93,
3762
+ "line": 98,
3673
3763
  "character": 3
3674
3764
  },
3675
3765
  "doc": {
3676
3766
  "__schema": "DocSchema",
3677
3767
  "location": {
3678
3768
  "filePath": "tester.ts",
3679
- "line": 90,
3769
+ "line": 95,
3680
3770
  "character": 3
3681
3771
  },
3682
3772
  "raw": "/**\n * is start from ui\n */",
@@ -3688,7 +3778,7 @@
3688
3778
  "__schema": "KeywordTypeSchema",
3689
3779
  "location": {
3690
3780
  "filePath": "tester.ts",
3691
- "line": 93,
3781
+ "line": 98,
3692
3782
  "character": 8
3693
3783
  },
3694
3784
  "name": "boolean"
@@ -3699,14 +3789,14 @@
3699
3789
  "__schema": "VariableLikeSchema",
3700
3790
  "location": {
3701
3791
  "filePath": "tester.ts",
3702
- "line": 98,
3792
+ "line": 103,
3703
3793
  "character": 3
3704
3794
  },
3705
3795
  "doc": {
3706
3796
  "__schema": "DocSchema",
3707
3797
  "location": {
3708
3798
  "filePath": "tester.ts",
3709
- "line": 95,
3799
+ "line": 100,
3710
3800
  "character": 3
3711
3801
  },
3712
3802
  "raw": "/**\n * determines whether to start the tester in watch mode.\n */",
@@ -3718,7 +3808,7 @@
3718
3808
  "__schema": "KeywordTypeSchema",
3719
3809
  "location": {
3720
3810
  "filePath": "tester.ts",
3721
- "line": 98,
3811
+ "line": 103,
3722
3812
  "character": 11
3723
3813
  },
3724
3814
  "name": "boolean"
@@ -3729,14 +3819,14 @@
3729
3819
  "__schema": "VariableLikeSchema",
3730
3820
  "location": {
3731
3821
  "filePath": "tester.ts",
3732
- "line": 103,
3822
+ "line": 108,
3733
3823
  "character": 3
3734
3824
  },
3735
3825
  "doc": {
3736
3826
  "__schema": "DocSchema",
3737
3827
  "location": {
3738
3828
  "filePath": "tester.ts",
3739
- "line": 100,
3829
+ "line": 105,
3740
3830
  "character": 3
3741
3831
  },
3742
3832
  "raw": "/**\n * whether the tester should show code coverage\n */",
@@ -3748,7 +3838,7 @@
3748
3838
  "__schema": "KeywordTypeSchema",
3749
3839
  "location": {
3750
3840
  "filePath": "tester.ts",
3751
- "line": 103,
3841
+ "line": 108,
3752
3842
  "character": 14
3753
3843
  },
3754
3844
  "name": "boolean"
@@ -3759,14 +3849,14 @@
3759
3849
  "__schema": "VariableLikeSchema",
3760
3850
  "location": {
3761
3851
  "filePath": "tester.ts",
3762
- "line": 108,
3852
+ "line": 113,
3763
3853
  "character": 3
3764
3854
  },
3765
3855
  "doc": {
3766
3856
  "__schema": "DocSchema",
3767
3857
  "location": {
3768
3858
  "filePath": "tester.ts",
3769
- "line": 105,
3859
+ "line": 110,
3770
3860
  "character": 3
3771
3861
  },
3772
3862
  "raw": "/**\n * array of patterns to test.\n */",
@@ -3778,7 +3868,7 @@
3778
3868
  "__schema": "TypeRefSchema",
3779
3869
  "location": {
3780
3870
  "filePath": "tester.ts",
3781
- "line": 108,
3871
+ "line": 113,
3782
3872
  "character": 3
3783
3873
  },
3784
3874
  "name": "ComponentPatternsMap"
@@ -3796,7 +3886,37 @@
3796
3886
  "__schema": "DocSchema",
3797
3887
  "location": {
3798
3888
  "filePath": "tester.ts",
3799
- "line": 110,
3889
+ "line": 115,
3890
+ "character": 3
3891
+ },
3892
+ "raw": "/**\n * array of source files patterns to test.\n */",
3893
+ "comment": "array of source files patterns to test."
3894
+ },
3895
+ "signature": "(property) TesterContext.sourcePatterns?: ComponentPatternsMap | undefined",
3896
+ "name": "sourcePatterns",
3897
+ "type": {
3898
+ "__schema": "TypeRefSchema",
3899
+ "location": {
3900
+ "filePath": "tester.ts",
3901
+ "line": 118,
3902
+ "character": 20
3903
+ },
3904
+ "name": "ComponentPatternsMap"
3905
+ },
3906
+ "isOptional": true
3907
+ },
3908
+ {
3909
+ "__schema": "VariableLikeSchema",
3910
+ "location": {
3911
+ "filePath": "tester.ts",
3912
+ "line": 128,
3913
+ "character": 3
3914
+ },
3915
+ "doc": {
3916
+ "__schema": "DocSchema",
3917
+ "location": {
3918
+ "filePath": "tester.ts",
3919
+ "line": 120,
3800
3920
  "character": 3
3801
3921
  },
3802
3922
  "raw": "/**\n *\n * additional test host dependencies\n * This can be used in cases when you want specific dependencies to be resolved from the env during testing\n * but you don't want these dependencies as peer dependencies of the component (as they are not used during runtime)\n * An example for this is @angular/compiler, which during running tests you want to resolve from the env, but you don't\n * need it during component runtime.\n */",
@@ -3806,7 +3926,7 @@
3806
3926
  "__schema": "TagSchema",
3807
3927
  "location": {
3808
3928
  "filePath": "tester.ts",
3809
- "line": 115,
3929
+ "line": 125,
3810
3930
  "character": 29
3811
3931
  },
3812
3932
  "tagName": "angular",
@@ -3820,14 +3940,14 @@
3820
3940
  "__schema": "TypeArraySchema",
3821
3941
  "location": {
3822
3942
  "filePath": "tester.ts",
3823
- "line": 118,
3943
+ "line": 128,
3824
3944
  "character": 32
3825
3945
  },
3826
3946
  "type": {
3827
3947
  "__schema": "KeywordTypeSchema",
3828
3948
  "location": {
3829
3949
  "filePath": "tester.ts",
3830
- "line": 118,
3950
+ "line": 128,
3831
3951
  "character": 32
3832
3952
  },
3833
3953
  "name": "string"
@@ -3858,7 +3978,7 @@
3858
3978
  "_legacy": {
3859
3979
  "scope": "teambit.defender",
3860
3980
  "name": "tester",
3861
- "version": "1.0.210"
3981
+ "version": "1.0.211"
3862
3982
  },
3863
3983
  "_scope": "teambit.defender"
3864
3984
  }
@@ -3870,14 +3990,14 @@
3870
3990
  "__schema": "InterfaceSchema",
3871
3991
  "location": {
3872
3992
  "filePath": "tester.ts",
3873
- "line": 124,
3993
+ "line": 134,
3874
3994
  "character": 1
3875
3995
  },
3876
3996
  "doc": {
3877
3997
  "__schema": "DocSchema",
3878
3998
  "location": {
3879
3999
  "filePath": "tester.ts",
3880
- "line": 121,
4000
+ "line": 131,
3881
4001
  "character": 1
3882
4002
  },
3883
4003
  "raw": "/**\n * tester interface allows extensions to implement a component tester into bit.\n */",
@@ -3890,14 +4010,14 @@
3890
4010
  "__schema": "VariableLikeSchema",
3891
4011
  "location": {
3892
4012
  "filePath": "tester.ts",
3893
- "line": 128,
4013
+ "line": 138,
3894
4014
  "character": 3
3895
4015
  },
3896
4016
  "doc": {
3897
4017
  "__schema": "DocSchema",
3898
4018
  "location": {
3899
4019
  "filePath": "tester.ts",
3900
- "line": 125,
4020
+ "line": 135,
3901
4021
  "character": 3
3902
4022
  },
3903
4023
  "raw": "/**\n * display name of the tester.\n */",
@@ -3909,7 +4029,7 @@
3909
4029
  "__schema": "KeywordTypeSchema",
3910
4030
  "location": {
3911
4031
  "filePath": "tester.ts",
3912
- "line": 128,
4032
+ "line": 138,
3913
4033
  "character": 17
3914
4034
  },
3915
4035
  "name": "string"
@@ -3920,14 +4040,14 @@
3920
4040
  "__schema": "VariableLikeSchema",
3921
4041
  "location": {
3922
4042
  "filePath": "tester.ts",
3923
- "line": 133,
4043
+ "line": 143,
3924
4044
  "character": 3
3925
4045
  },
3926
4046
  "doc": {
3927
4047
  "__schema": "DocSchema",
3928
4048
  "location": {
3929
4049
  "filePath": "tester.ts",
3930
- "line": 130,
4050
+ "line": 140,
3931
4051
  "character": 3
3932
4052
  },
3933
4053
  "raw": "/**\n * icon of the tester.\n */",
@@ -3939,7 +4059,7 @@
3939
4059
  "__schema": "KeywordTypeSchema",
3940
4060
  "location": {
3941
4061
  "filePath": "tester.ts",
3942
- "line": 133,
4062
+ "line": 143,
3943
4063
  "character": 10
3944
4064
  },
3945
4065
  "name": "string"
@@ -3950,14 +4070,14 @@
3950
4070
  "__schema": "FunctionLikeSchema",
3951
4071
  "location": {
3952
4072
  "filePath": "tester.ts",
3953
- "line": 138,
4073
+ "line": 148,
3954
4074
  "character": 3
3955
4075
  },
3956
4076
  "doc": {
3957
4077
  "__schema": "DocSchema",
3958
4078
  "location": {
3959
4079
  "filePath": "tester.ts",
3960
- "line": 135,
4080
+ "line": 145,
3961
4081
  "character": 3
3962
4082
  },
3963
4083
  "raw": "/**\n * serialized config of the tester.\n */",
@@ -3970,7 +4090,7 @@
3970
4090
  "__schema": "KeywordTypeSchema",
3971
4091
  "location": {
3972
4092
  "filePath": "tester.ts",
3973
- "line": 138,
4093
+ "line": 148,
3974
4094
  "character": 21
3975
4095
  },
3976
4096
  "name": "string"
@@ -3981,14 +4101,14 @@
3981
4101
  "__schema": "VariableLikeSchema",
3982
4102
  "location": {
3983
4103
  "filePath": "tester.ts",
3984
- "line": 143,
4104
+ "line": 153,
3985
4105
  "character": 3
3986
4106
  },
3987
4107
  "doc": {
3988
4108
  "__schema": "DocSchema",
3989
4109
  "location": {
3990
4110
  "filePath": "tester.ts",
3991
- "line": 140,
4111
+ "line": 150,
3992
4112
  "character": 3
3993
4113
  },
3994
4114
  "raw": "/**\n * path to the config in the filesystem.\n */",
@@ -4000,7 +4120,7 @@
4000
4120
  "__schema": "KeywordTypeSchema",
4001
4121
  "location": {
4002
4122
  "filePath": "tester.ts",
4003
- "line": 143,
4123
+ "line": 153,
4004
4124
  "character": 16
4005
4125
  },
4006
4126
  "name": "string"
@@ -4011,14 +4131,14 @@
4011
4131
  "__schema": "VariableLikeSchema",
4012
4132
  "location": {
4013
4133
  "filePath": "tester.ts",
4014
- "line": 148,
4134
+ "line": 158,
4015
4135
  "character": 3
4016
4136
  },
4017
4137
  "doc": {
4018
4138
  "__schema": "DocSchema",
4019
4139
  "location": {
4020
4140
  "filePath": "tester.ts",
4021
- "line": 145,
4141
+ "line": 155,
4022
4142
  "character": 3
4023
4143
  },
4024
4144
  "raw": "/**\n * id of the tester.\n */",
@@ -4030,7 +4150,7 @@
4030
4150
  "__schema": "KeywordTypeSchema",
4031
4151
  "location": {
4032
4152
  "filePath": "tester.ts",
4033
- "line": 148,
4153
+ "line": 158,
4034
4154
  "character": 7
4035
4155
  },
4036
4156
  "name": "string"
@@ -4041,14 +4161,14 @@
4041
4161
  "__schema": "FunctionLikeSchema",
4042
4162
  "location": {
4043
4163
  "filePath": "tester.ts",
4044
- "line": 154,
4164
+ "line": 164,
4045
4165
  "character": 3
4046
4166
  },
4047
4167
  "doc": {
4048
4168
  "__schema": "DocSchema",
4049
4169
  "location": {
4050
4170
  "filePath": "tester.ts",
4051
- "line": 150,
4171
+ "line": 160,
4052
4172
  "character": 3
4053
4173
  },
4054
4174
  "raw": "/**\n * on test run complete. (applies only during watch)\n * @param callback\n */",
@@ -4058,7 +4178,7 @@
4058
4178
  "__schema": "PropertyLikeTagSchema",
4059
4179
  "location": {
4060
4180
  "filePath": "tester.ts",
4061
- "line": 152,
4181
+ "line": 162,
4062
4182
  "character": 6
4063
4183
  },
4064
4184
  "name": "callback",
@@ -4073,7 +4193,7 @@
4073
4193
  "__schema": "ParameterSchema",
4074
4194
  "location": {
4075
4195
  "filePath": "tester.ts",
4076
- "line": 154,
4196
+ "line": 164,
4077
4197
  "character": 22
4078
4198
  },
4079
4199
  "name": "callback",
@@ -4081,7 +4201,7 @@
4081
4201
  "__schema": "TypeRefSchema",
4082
4202
  "location": {
4083
4203
  "filePath": "tester.ts",
4084
- "line": 154,
4204
+ "line": 164,
4085
4205
  "character": 32
4086
4206
  },
4087
4207
  "name": "CallbackFn"
@@ -4094,7 +4214,7 @@
4094
4214
  "__schema": "TypeRefSchema",
4095
4215
  "location": {
4096
4216
  "filePath": "tester.ts",
4097
- "line": 154,
4217
+ "line": 164,
4098
4218
  "character": 45
4099
4219
  },
4100
4220
  "name": "Promise",
@@ -4103,7 +4223,7 @@
4103
4223
  "__schema": "KeywordTypeSchema",
4104
4224
  "location": {
4105
4225
  "filePath": "tester.ts",
4106
- "line": 154,
4226
+ "line": 164,
4107
4227
  "character": 53
4108
4228
  },
4109
4229
  "name": "void"
@@ -4116,14 +4236,14 @@
4116
4236
  "__schema": "FunctionLikeSchema",
4117
4237
  "location": {
4118
4238
  "filePath": "tester.ts",
4119
- "line": 159,
4239
+ "line": 169,
4120
4240
  "character": 3
4121
4241
  },
4122
4242
  "doc": {
4123
4243
  "__schema": "DocSchema",
4124
4244
  "location": {
4125
4245
  "filePath": "tester.ts",
4126
- "line": 156,
4246
+ "line": 166,
4127
4247
  "character": 3
4128
4248
  },
4129
4249
  "raw": "/**\n * execute tests on all components in the given execution context.\n */",
@@ -4136,7 +4256,7 @@
4136
4256
  "__schema": "ParameterSchema",
4137
4257
  "location": {
4138
4258
  "filePath": "tester.ts",
4139
- "line": 159,
4259
+ "line": 169,
4140
4260
  "character": 8
4141
4261
  },
4142
4262
  "name": "context",
@@ -4144,7 +4264,7 @@
4144
4264
  "__schema": "TypeRefSchema",
4145
4265
  "location": {
4146
4266
  "filePath": "tester.ts",
4147
- "line": 159,
4267
+ "line": 169,
4148
4268
  "character": 17
4149
4269
  },
4150
4270
  "name": "TesterContext"
@@ -4157,7 +4277,7 @@
4157
4277
  "__schema": "TypeRefSchema",
4158
4278
  "location": {
4159
4279
  "filePath": "tester.ts",
4160
- "line": 159,
4280
+ "line": 169,
4161
4281
  "character": 33
4162
4282
  },
4163
4283
  "name": "Promise",
@@ -4166,7 +4286,7 @@
4166
4286
  "__schema": "TypeRefSchema",
4167
4287
  "location": {
4168
4288
  "filePath": "tester.ts",
4169
- "line": 159,
4289
+ "line": 169,
4170
4290
  "character": 41
4171
4291
  },
4172
4292
  "name": "Tests"
@@ -4179,14 +4299,14 @@
4179
4299
  "__schema": "FunctionLikeSchema",
4180
4300
  "location": {
4181
4301
  "filePath": "tester.ts",
4182
- "line": 164,
4302
+ "line": 174,
4183
4303
  "character": 3
4184
4304
  },
4185
4305
  "doc": {
4186
4306
  "__schema": "DocSchema",
4187
4307
  "location": {
4188
4308
  "filePath": "tester.ts",
4189
- "line": 161,
4309
+ "line": 171,
4190
4310
  "character": 3
4191
4311
  },
4192
4312
  "raw": "/**\n * watch tests on all components\n */",
@@ -4199,7 +4319,7 @@
4199
4319
  "__schema": "ParameterSchema",
4200
4320
  "location": {
4201
4321
  "filePath": "tester.ts",
4202
- "line": 164,
4322
+ "line": 174,
4203
4323
  "character": 10
4204
4324
  },
4205
4325
  "name": "context",
@@ -4207,7 +4327,7 @@
4207
4327
  "__schema": "TypeRefSchema",
4208
4328
  "location": {
4209
4329
  "filePath": "tester.ts",
4210
- "line": 164,
4330
+ "line": 174,
4211
4331
  "character": 19
4212
4332
  },
4213
4333
  "name": "TesterContext"
@@ -4220,7 +4340,7 @@
4220
4340
  "__schema": "TypeRefSchema",
4221
4341
  "location": {
4222
4342
  "filePath": "tester.ts",
4223
- "line": 164,
4343
+ "line": 174,
4224
4344
  "character": 35
4225
4345
  },
4226
4346
  "name": "Promise",
@@ -4229,7 +4349,7 @@
4229
4349
  "__schema": "TypeRefSchema",
4230
4350
  "location": {
4231
4351
  "filePath": "tester.ts",
4232
- "line": 164,
4352
+ "line": 174,
4233
4353
  "character": 43
4234
4354
  },
4235
4355
  "name": "Tests"
@@ -4242,14 +4362,14 @@
4242
4362
  "__schema": "FunctionLikeSchema",
4243
4363
  "location": {
4244
4364
  "filePath": "tester.ts",
4245
- "line": 169,
4365
+ "line": 179,
4246
4366
  "character": 3
4247
4367
  },
4248
4368
  "doc": {
4249
4369
  "__schema": "DocSchema",
4250
4370
  "location": {
4251
4371
  "filePath": "tester.ts",
4252
- "line": 166,
4372
+ "line": 176,
4253
4373
  "character": 3
4254
4374
  },
4255
4375
  "raw": "/**\n * return the tester version.\n */",
@@ -4262,7 +4382,7 @@
4262
4382
  "__schema": "KeywordTypeSchema",
4263
4383
  "location": {
4264
4384
  "filePath": "tester.ts",
4265
- "line": 169,
4385
+ "line": 179,
4266
4386
  "character": 14
4267
4387
  },
4268
4388
  "name": "string"
@@ -4276,7 +4396,7 @@
4276
4396
  "__schema": "TypeSchema",
4277
4397
  "location": {
4278
4398
  "filePath": "tester.ts",
4279
- "line": 172,
4399
+ "line": 182,
4280
4400
  "character": 1
4281
4401
  },
4282
4402
  "signature": "type CallbackFn = (testSuite: Tests) => void",
@@ -4285,7 +4405,7 @@
4285
4405
  "__schema": "FunctionLikeSchema",
4286
4406
  "location": {
4287
4407
  "filePath": "tester.ts",
4288
- "line": 172,
4408
+ "line": 182,
4289
4409
  "character": 26
4290
4410
  },
4291
4411
  "signature": "(testSuite: Tests): void",
@@ -4295,7 +4415,7 @@
4295
4415
  "__schema": "ParameterSchema",
4296
4416
  "location": {
4297
4417
  "filePath": "tester.ts",
4298
- "line": 172,
4418
+ "line": 182,
4299
4419
  "character": 27
4300
4420
  },
4301
4421
  "name": "testSuite",
@@ -4303,7 +4423,7 @@
4303
4423
  "__schema": "TypeRefSchema",
4304
4424
  "location": {
4305
4425
  "filePath": "tester.ts",
4306
- "line": 172,
4426
+ "line": 182,
4307
4427
  "character": 38
4308
4428
  },
4309
4429
  "name": "Tests"
@@ -4316,7 +4436,7 @@
4316
4436
  "__schema": "KeywordTypeSchema",
4317
4437
  "location": {
4318
4438
  "filePath": "tester.ts",
4319
- "line": 172,
4439
+ "line": 182,
4320
4440
  "character": 48
4321
4441
  },
4322
4442
  "name": "void"
@@ -6224,7 +6344,7 @@
6224
6344
  "componentId": {
6225
6345
  "scope": "teambit.defender",
6226
6346
  "name": "tester",
6227
- "version": "1.0.210"
6347
+ "version": "1.0.211"
6228
6348
  },
6229
6349
  "taggedModuleExports": []
6230
6350
  }