We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3333fb commit 6086b25Copy full SHA for 6086b25
1 file changed
packages/core/test/prompts/password.test.ts
@@ -65,9 +65,7 @@ describe('PasswordPrompt', () => {
65
});
66
instance.prompt();
67
input.emit('keypress', 'x', { name: 'x' });
68
- expect(instance.userInputWithCursor).to.equal(
69
- `•${styleText(['inverse', 'hidden'], '_')}`
70
- );
+ expect(instance.userInputWithCursor).to.equal(`•${styleText(['inverse', 'hidden'], '_')}`);
71
72
73
test('renders cursor inside value', () => {
@@ -94,9 +92,7 @@ describe('PasswordPrompt', () => {
94
92
95
93
96
97
98
- `X${styleText(['inverse', 'hidden'], '_')}`
99
+ expect(instance.userInputWithCursor).to.equal(`X${styleText(['inverse', 'hidden'], '_')}`);
100
101
102
0 commit comments