Skip to content

Commit 6086b25

Browse files
43081jgithub-actions[bot]
authored andcommitted
[ci] format
1 parent e3333fb commit 6086b25

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

packages/core/test/prompts/password.test.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ describe('PasswordPrompt', () => {
6565
});
6666
instance.prompt();
6767
input.emit('keypress', 'x', { name: 'x' });
68-
expect(instance.userInputWithCursor).to.equal(
69-
`•${styleText(['inverse', 'hidden'], '_')}`
70-
);
68+
expect(instance.userInputWithCursor).to.equal(`•${styleText(['inverse', 'hidden'], '_')}`);
7169
});
7270

7371
test('renders cursor inside value', () => {
@@ -94,9 +92,7 @@ describe('PasswordPrompt', () => {
9492
});
9593
instance.prompt();
9694
input.emit('keypress', 'x', { name: 'x' });
97-
expect(instance.userInputWithCursor).to.equal(
98-
`X${styleText(['inverse', 'hidden'], '_')}`
99-
);
95+
expect(instance.userInputWithCursor).to.equal(`X${styleText(['inverse', 'hidden'], '_')}`);
10096
});
10197
});
10298
});

0 commit comments

Comments
 (0)