Skip to content

Commit

Permalink
fix: improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra committed Nov 1, 2023
1 parent 89dc90d commit f0585fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/select/select.test.mts
Original file line number Diff line number Diff line change
Expand Up @@ -471,5 +471,8 @@ describe('select prompt', () => {
7
(Use arrow keys to reveal more choices)"
`);

events.keypress('enter');
await expect(answer).resolves.toEqual(4);
});
});

0 comments on commit f0585fc

Please # to comment.