Skip to content

Commit

Permalink
Test (password): update expected snapshot when prompt complete
Browse files Browse the repository at this point in the history
  • Loading branch information
matteosacchetto committed Dec 5, 2023
1 parent af57b0a commit 1cbe6b0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/password/password.test.mts
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,6 @@ describe('password prompt', () => {

events.keypress('enter');
await expect(answer).resolves.toEqual('John');
expect(getScreen()).toMatchInlineSnapshot(
'"? Enter your password (CTRL+Space to show/hide the password) ****"',
);
expect(getScreen()).toMatchInlineSnapshot('"? Enter your password ****"');
});
});

0 comments on commit 1cbe6b0

Please sign in to comment.