Skip to content

Commit

Permalink
give test more time (#96955)
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 authored and kibanamachine committed Apr 13, 2021
1 parent a2cfeb8 commit f207cea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('debouncedComponent', () => {
component.setProps({ title: 'yall' });
expect(component.text()).toEqual('there');
await act(async () => {
await new Promise((r) => setTimeout(r, 1));
await new Promise((r) => setTimeout(r, 10));
});
expect(component.text()).toEqual('yall');
});
Expand Down

0 comments on commit f207cea

Please sign in to comment.