-
Notifications
You must be signed in to change notification settings - Fork 219
Expand file tree
/
Copy pathruntime.test.ts.snap
More file actions
751 lines (729 loc) Β· 17.6 KB
/
runtime.test.ts.snap
File metadata and controls
751 lines (729 loc) Β· 17.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`parseCommand alreadyUsedOption 1`] = `
{
"charactersToDrop": 3,
"suggestions": [
{
"allNames": [
"--bug-report",
],
"description": "Display system information for bug report",
"icon": "π",
"insertValue": undefined,
"name": "--bug-report",
"priority": 50,
"type": undefined,
},
],
}
`;
exports[`parseCommand alreadyUsedSuggestion 1`] = `undefined`;
exports[`parseCommand command 1`] = `
{
"charactersToDrop": 3,
"suggestions": [
{
"allNames": [
"stage",
],
"description": "Add file contents to the staging area",
"icon": "π¦",
"insertValue": undefined,
"name": "stage",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"status",
],
"description": "Show the working tree status",
"icon": "π¦",
"insertValue": undefined,
"name": "status",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"stash",
],
"description": "Temporarily stores all the modified tracked files",
"icon": "π¦",
"insertValue": undefined,
"name": "stash",
"priority": 50,
"type": undefined,
},
],
}
`;
exports[`parseCommand completePrefixFilter 1`] = `
{
"charactersToDrop": 4,
"suggestions": [
{
"allNames": [
"status",
],
"description": "Show the working tree status",
"icon": "π¦",
"insertValue": undefined,
"name": "status",
"priority": 50,
"type": undefined,
},
],
}
`;
exports[`parseCommand completedOptionWithArg 1`] = `
{
"charactersToDrop": 0,
"suggestions": [
{
"allNames": [
"--artifact-server-path",
],
"description": "Defines the path where the artifact server stores uploads and retrieves downloads from. If not specified the artifact server will not start",
"icon": "π",
"insertValue": undefined,
"name": "--artifact-server-path",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--artifact-server-port",
],
"description": "Defines the port where the artifact server listens (will only bind to localhost)",
"icon": "π",
"insertValue": undefined,
"name": "--artifact-server-port",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--container-architecture",
],
"description": "Architecture which should be used to run containers, e.g.: linux/amd64. If not specified, will use host default architecture. Requires Docker server API Version 1.41+. Ignored on earlier Docker server platforms",
"icon": "π",
"insertValue": undefined,
"name": "--container-architecture",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--container-daemon-socket",
],
"description": "Path to Docker daemon socket which will be mounted to containers",
"icon": "π",
"insertValue": undefined,
"name": "--container-daemon-socket",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--directory",
"-C",
],
"description": "Working directory",
"icon": "π",
"insertValue": undefined,
"name": "--directory",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--dryrun",
"-n",
],
"description": "Dryrun mode",
"icon": "π",
"insertValue": undefined,
"name": "--dryrun",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--env-file",
],
"description": "Environment file to read and use as env in the containers",
"icon": "π",
"insertValue": undefined,
"name": "--env-file",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--github-instance",
],
"description": "GitHub instance to use. Don't use this if you are not using GitHub Enterprise Server",
"icon": "π",
"insertValue": undefined,
"name": "--github-instance",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--insecure-secrets",
],
"description": "NOT RECOMMENDED! Doesn't hide secrets while printing logs",
"icon": "π",
"insertValue": undefined,
"name": "--insecure-secrets",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--json",
],
"description": "Output logs in json format",
"icon": "π",
"insertValue": undefined,
"name": "--json",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--no-recurse",
],
"description": "Flag to disable running workflows from subdirectories of specified path in '--workflows'/'-W' flag",
"icon": "π",
"insertValue": undefined,
"name": "--no-recurse",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--no-skip-checkout",
],
"description": "Do not skip actions/checkout",
"icon": "π",
"insertValue": undefined,
"name": "--no-skip-checkout",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--quiet",
"-q",
],
"description": "Disable logging of output from steps",
"icon": "π",
"insertValue": undefined,
"name": "--quiet",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--secret-file",
],
"description": "File with list of secrets to read from (e.g. --secret-file .secrets)",
"icon": "π",
"insertValue": undefined,
"name": "--secret-file",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--verbose",
"-v",
],
"description": "Verbose output",
"icon": "π",
"insertValue": undefined,
"name": "--verbose",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--workflows",
"-W",
],
"description": "Path to workflow file(s)",
"icon": "π",
"insertValue": undefined,
"name": "--workflows",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--help",
"-h",
],
"description": "Display help",
"icon": "π",
"insertValue": undefined,
"name": "--help",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--no-descriptions",
],
"description": "Disable completion descriptions",
"icon": "π",
"insertValue": undefined,
"name": "--no-descriptions",
"priority": 50,
"type": undefined,
},
],
}
`;
exports[`parseCommand emptySuggestions 1`] = `undefined`;
exports[`parseCommand exclusiveOnOption 1`] = `
{
"charactersToDrop": 4,
"suggestions": [
{
"allNames": [
"--nobreak",
],
"description": "Print a newline between matches in different files. Enabled by default",
"icon": "π",
"insertValue": undefined,
"name": "--nobreak",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--nocolor",
],
"description": "Don't print color codes in results",
"icon": "π",
"insertValue": undefined,
"name": "--nocolor",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--nofilename",
],
"description": "Don't print file names",
"icon": "π",
"insertValue": undefined,
"name": "--nofilename",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--nofollow",
],
"description": "Don't follow symlinks",
"icon": "π",
"insertValue": undefined,
"name": "--nofollow",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--nogroup",
],
"description": "Refrains from lumping matches in the same file together, and instead places the filename at the start of each match line",
"icon": "π",
"insertValue": undefined,
"name": "--nogroup",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--noheading",
],
"description": "Don't print filenames above matching contents",
"icon": "π",
"insertValue": undefined,
"name": "--noheading",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--nommap",
],
"description": "Don't use of memory-mapped I/O. Defaults to true on platforms where mmap() is faster than read(). (All but macOS.)",
"icon": "π",
"insertValue": undefined,
"name": "--nommap",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--nomultiline",
],
"description": "Don't match regexes across newlines",
"icon": "π",
"insertValue": undefined,
"name": "--nomultiline",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"-n",
"--norecurse",
],
"description": "Don't recurse into directories",
"icon": "π",
"insertValue": undefined,
"name": "--norecurse",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--nonumbers",
],
"description": "Don't print line numbers",
"icon": "π",
"insertValue": undefined,
"name": "--nonumbers",
"priority": 50,
"type": undefined,
},
],
}
`;
exports[`parseCommand fullyTypedSuggestion 1`] = `
{
"charactersToDrop": 2,
"suggestions": [
{
"allNames": [
"-W",
],
"description": "Display whiteouts when scanning directories. (-S) flag)",
"icon": "π",
"insertValue": undefined,
"name": "-W",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"-w",
],
"description": "Force raw printing of non-printable characters. This is the default when output is not to a terminal",
"icon": "π",
"insertValue": undefined,
"name": "-w",
"priority": 50,
"type": undefined,
},
],
}
`;
exports[`parseCommand generatorUsingPartialInput 1`] = `
{
"charactersToDrop": 27,
"suggestions": [
{
"allNames": [
"Microsoft.Azure.WebJobs.Core",
],
"description": "This package provides the core Types and Attribute definitions for the WebJobs SDK. For more information, please visit https://go.microsoft.com/fwlink/?linkid=2279708.",
"icon": "π",
"insertValue": "Microsoft.Azure.WebJobs.Core",
"name": "Microsoft.Azure.WebJobs.Core",
"priority": 60,
"type": undefined,
},
],
}
`;
exports[`parseCommand loadSpec 1`] = `
{
"charactersToDrop": 3,
"suggestions": [
{
"allNames": [
"add-tags-to-certificate",
],
"description": "Adds one or more tags to an ACM certificate. Tags are labels that you can use to identify and organize your Amazon Web Services resources. Each tag consists of a key and an optional value. You specify the certificate on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair. You can apply a tag to just one certificate if you want to identify a specific characteristic of that certificate, or you can apply the same tag to multiple certificates if you want to filter for a common relationship among those certificates. Similarly, you can apply the same tag to multiple resources if you want to specify a relationship among those resources. For example, you can add the same tag to an ACM certificate and an Elastic Load Balancing load balancer to indicate that they are both used by the same website. For more information, see Tagging ACM certificates. To remove one or more tags, use the RemoveTagsFromCertificate action. To view all of the tags that have been applied to the certificate, use the ListTagsForCertificate action",
"icon": "π¦",
"insertValue": undefined,
"name": "add-tags-to-certificate",
"priority": 50,
"type": undefined,
},
],
}
`;
exports[`parseCommand noArgsArgumentGiven 1`] = `
{
"charactersToDrop": 0,
"suggestions": [
{
"allNames": [
"--analyzer-output",
],
"description": "Static analyzer report output format",
"icon": "π",
"insertValue": undefined,
"name": "--analyzer-output",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"--analyze",
],
"description": "Run the static analyzer",
"icon": "π",
"insertValue": undefined,
"name": "--analyze",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"-arcmt-migrate-emit-errors",
],
"description": "Emit ARC errors even if the migrator can fix them",
"icon": "π",
"insertValue": undefined,
"name": "-arcmt-migrate-emit-errors",
"priority": 50,
"type": undefined,
},
],
}
`;
exports[`parseCommand noOptionsSuggestedDuringVariadicArg 1`] = `undefined`;
exports[`parseCommand optionsSuggestedAfterVariadicArg 1`] = `
{
"argumentDescription": undefined,
"charactersToDrop": 2,
"suggestions": [
{
"allNames": [
"package-lock.json",
],
"description": undefined,
"icon": "π",
"insertValue": "package-lock.json",
"name": "package-lock.json",
"priority": 55,
"type": "file",
},
{
"allNames": [
"-L",
],
"description": "Follow all symbolic links to final target and list the file or directory the link references rather than the link itself. This option cancels the -P option",
"icon": "π",
"insertValue": undefined,
"name": "-L",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"-l",
],
"description": "(The lowercase letter \`\`ell''.) List in long format. (See below.) A total sum for all the file sizes is output on a line before the long listing",
"icon": "π",
"insertValue": undefined,
"name": "-l",
"priority": 50,
"type": undefined,
},
],
}
`;
exports[`parseCommand partialPrefixFilter 1`] = `
{
"charactersToDrop": 3,
"suggestions": [
{
"allNames": [
"stage",
],
"description": "Add file contents to the staging area",
"icon": "π¦",
"insertValue": undefined,
"name": "stage",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"status",
],
"description": "Show the working tree status",
"icon": "π¦",
"insertValue": undefined,
"name": "status",
"priority": 50,
"type": undefined,
},
{
"allNames": [
"stash",
],
"description": "Temporarily stores all the modified tracked files",
"icon": "π¦",
"insertValue": undefined,
"name": "stash",
"priority": 50,
"type": undefined,
},
],
}
`;
exports[`parseCommand pathNestedSuggestion 1`] = `
{
"charactersToDrop": 12,
"suggestions": [
{
"allNames": [
"workflows",
],
"description": undefined,
"icon": "π",
"insertValue": ".github/workflows/",
"name": "workflows",
"priority": 55,
"type": "folder",
},
],
}
`;
exports[`parseCommand pathSuggestion 1`] = `
{
"charactersToDrop": 3,
"suggestions": [
{
"allNames": [
"shell",
],
"description": undefined,
"icon": "π",
"insertValue": "shell/",
"name": "shell",
"priority": 55,
"type": "folder",
},
],
}
`;
exports[`parseCommand pathWithFileFilteredSuggestion 1`] = `
{
"charactersToDrop": 23,
"suggestions": [
{
"allNames": [
"shellIntegration.bash",
],
"description": undefined,
"icon": "π",
"insertValue": "shell/shellIntegration.bash",
"name": "shellIntegration.bash",
"priority": 55,
"type": "file",
},
],
}
`;
exports[`parseCommand pathWithFileSuggestion 1`] = `
{
"charactersToDrop": 6,
"suggestions": [
{
"allNames": [
"bash-preexec.sh",
],
"description": undefined,
"icon": "π",
"insertValue": "shell/bash-preexec.sh",
"name": "bash-preexec.sh",
"priority": 55,
"type": "file",
},
],
}
`;
exports[`parseCommand provideFileSuggestion 1`] = `
{
"charactersToDrop": 4,
"suggestions": [
{
"allNames": [
"README.md",
],
"description": undefined,
"icon": "π",
"insertValue": "README.md",
"name": "README.md",
"priority": 55,
"type": "file",
},
],
}
`;
exports[`parseCommand provideFolderSuggestion 1`] = `
{
"charactersToDrop": 2,
"suggestions": [
{
"allNames": [
"src",
],
"description": undefined,
"icon": "π",
"insertValue": "src/",
"name": "src",
"priority": 55,
"type": "folder",
},
],
}
`;
exports[`parseCommand providedArgDescription 1`] = `
{
"argumentDescription": "actor",
"charactersToDrop": 0,
"suggestions": [],
}
`;
exports[`parseCommand providedSuggestion 1`] = `
{
"argumentDescription": "Shell to generate completions for",
"charactersToDrop": 0,
"suggestions": [
{
"allNames": [
"zsh",
],
"description": undefined,
"icon": "π",
"insertValue": undefined,
"name": "zsh",
"priority": 50,
"type": undefined,
},
],
}
`;