Skip to content

Commit fa66b19

Browse files
committed
test: update snapshot for inquirerer 2.3.0 prompt format change
The new inquirerer version changed the prompt format from: 'autocompleteField?\nArgument --autocompleteField type [autocomplete]\n> Your input:\n$ ' to: 'autocompleteField? (--autocompleteField)\n> '
1 parent 18fb522 commit fa66b19

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

packages/cli/__tests__/__snapshots__/cli.test.ts.snap

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ exports[`Inquirerer prompts user and correctly processes delayed input 2`] = `
1515
exports[`Inquirerer prompts user and correctly processes delayed input 3`] = `
1616
[
1717
"",
18-
"autocompleteField?
19-
Argument<SPACE>--autocompleteField<SPACE>type<SPACE>[autocomplete]
20-
><SPACE>Your<SPACE>input:
21-
$<SPACE>
18+
"autocompleteField?<SPACE>(--autocompleteField)
19+
><SPACE>
2220
",
2321
"><SPACE>first<SPACE>option
2422
",
@@ -27,10 +25,8 @@ $<SPACE>
2725
"<SPACE><SPACE>firry<SPACE>third<SPACE>option
2826
",
2927
"",
30-
"autocompleteField?
31-
Argument<SPACE>--autocompleteField<SPACE>type<SPACE>[autocomplete]
32-
><SPACE>Your<SPACE>input:
33-
$<SPACE>
28+
"autocompleteField?<SPACE>(--autocompleteField)
29+
><SPACE>
3430
",
3531
"<SPACE><SPACE>first<SPACE>option
3632
",
@@ -39,10 +35,8 @@ $<SPACE>
3935
"<SPACE><SPACE>firry<SPACE>third<SPACE>option
4036
",
4137
"",
42-
"autocompleteField?
43-
Argument<SPACE>--autocompleteField<SPACE>type<SPACE>[autocomplete]
44-
><SPACE>Your<SPACE>input:
45-
$<SPACE>
38+
"autocompleteField?<SPACE>(--autocompleteField)
39+
><SPACE>
4640
",
4741
"<SPACE><SPACE>first<SPACE>option
4842
",

0 commit comments

Comments
 (0)