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 authored and SBoudrias committed Jan 27, 2024
1 parent 96fc67f commit eeb543d
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 eeb543d

Please sign in to comment.