Skip to content

Commit

Permalink
give test more time (#96955) (#97001)
Browse files Browse the repository at this point in the history
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
  • Loading branch information
kibanamachine and flash1293 authored Apr 13, 2021
1 parent c3f609f commit a464b8b
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 a464b8b

Please sign in to comment.