mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
TRIAL: timeout for loading spinner
This commit is contained in:
parent
4e09bdfd31
commit
3976bc42d1
1 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,8 @@ describe('CopyToSpaceFlyout', () => {
|
|||
expect(wrapper.find(EuiEmptyPrompt)).toHaveLength(0);
|
||||
expect(wrapper.find(EuiLoadingSpinner)).toHaveLength(1);
|
||||
|
||||
// Wait for loading spinner to clear
|
||||
await act(async () => {});
|
||||
wrapper.update();
|
||||
|
||||
expect(wrapper.find(CopyToSpaceForm)).toHaveLength(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue