Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update windows snapshots
  • Loading branch information
c4spar committed Jun 2, 2023
commit a919ba3440a1ba7ee6e99f4ad9cde28e989a05d1
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ stderr:
"? Whats your name? (foo) » \\x1b[28G\\x1b[G\\x1b[0J
? Whats your name? (foo) » foo bar\\x1b[35G\\x1b[G\\x1b[0J
? Whats your name? (foo) » foo bar
\\x1b[?25h\\x1b[?25h""
\\x1b[?25h\\x1b[?25h"
`;

snapshot[`input prompt without prefix > should disable prefix 1`] = `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ export const snapshot = {};
snapshot[`prompt method > should check an option 1`] = `
stdout:
'[checkbox:before] input is: foo
{ input: "foo", number: 43, confirm: true, toggle: true, checkbox: [ "bar", "baz" ] }
{
input: "foo",
number: 43,
confirm: true,
toggle: true,
checkbox: [ "bar", "baz" ]
}
'
stderr:
"? Enter some text (default value) » \\x1b[37G\\x1b[G\\x1b[0J
Expand Down