Skip to content

Commit 376d7dd

Browse files
committed
fix: snapshot update
Signed-off-by: Alexander Mangel <[email protected]>
1 parent 0eaf54b commit 376d7dd

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

packages/prompts/test/__snapshots__/spinner.test.ts.snap

+28-28
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,42 @@
22

33
exports[`spinner (isCI = false) > indicator customization > custom delay 1`] = `
44
[
5-
"[?25l",
5+
"<cursor.hide>",
66
"│
77
",
88
"◒ ",
9-
"[999D",
10-
"[J",
9+
"<cursor.backward count=999>",
10+
"<erase.down>",
1111
"◐ ",
12-
"[999D",
13-
"[J",
12+
"<cursor.backward count=999>",
13+
"<erase.down>",
1414
"◓ ",
15-
"[999D",
16-
"[J",
15+
"<cursor.backward count=999>",
16+
"<erase.down>",
1717
"◑ ",
1818
]
1919
`;
2020
2121
exports[`spinner (isCI = false) > indicator customization > custom frames 1`] = `
2222
[
23-
"[?25l",
23+
"<cursor.hide>",
2424
"│
2525
",
2626
"🐴 ",
27-
"[999D",
28-
"[J",
27+
"<cursor.backward count=999>",
28+
"<erase.down>",
2929
"🦋 ",
30-
"[999D",
31-
"[J",
30+
"<cursor.backward count=999>",
31+
"<erase.down>",
3232
"🐙 ",
33-
"[999D",
34-
"[J",
33+
"<cursor.backward count=999>",
34+
"<erase.down>",
3535
"🐶 ",
36-
"[999D",
37-
"[J",
36+
"<cursor.backward count=999>",
37+
"<erase.down>",
3838
"◇
3939
",
40-
"[?25h",
40+
"<cursor.show>",
4141
]
4242
`;
4343
@@ -50,11 +50,11 @@ exports[`spinner (isCI = false) > message > sets message for next frame 1`] = `
5050
"<cursor.backward count=999>",
5151
"<erase.down>",
5252
"◐ foo",
53-
"[999D",
54-
"[J",
53+
"<cursor.backward count=999>",
54+
"<erase.down>",
5555
"◇
5656
",
57-
"[?25h",
57+
"<cursor.show>",
5858
]
5959
`;
6060
@@ -243,7 +243,7 @@ exports[`spinner (isCI = false) > stop > renders submit symbol and stops spinner
243243
244244
exports[`spinner (isCI = true) > indicator customization > custom delay 1`] = `
245245
[
246-
"[?25l",
246+
"<cursor.hide>",
247247
"│
248248
",
249249
"◒ ...",
@@ -252,17 +252,17 @@ exports[`spinner (isCI = true) > indicator customization > custom delay 1`] = `
252252
253253
exports[`spinner (isCI = true) > indicator customization > custom frames 1`] = `
254254
[
255-
"[?25l",
255+
"<cursor.hide>",
256256
"│
257257
",
258258
"🐴 ...",
259259
"
260260
",
261-
"[999D",
262-
"[J",
261+
"<cursor.backward count=999>",
262+
"<erase.down>",
263263
"◇
264264
",
265-
"[?25h",
265+
"<cursor.show>",
266266
]
267267
`;
268268
@@ -279,11 +279,11 @@ exports[`spinner (isCI = true) > message > sets message for next frame 1`] = `
279279
"◐ foo...",
280280
"
281281
",
282-
"[999D",
283-
"[J",
282+
"<cursor.backward count=999>",
283+
"<erase.down>",
284284
"◇
285285
",
286-
"[?25h",
286+
"<cursor.show>",
287287
]
288288
`;
289289

0 commit comments

Comments
 (0)