fixes failing test

This commit is contained in:
Alex Corey 2021-07-01 11:56:32 -04:00
parent 28147b71c5
commit 49c84e6ca9

View File

@ -194,7 +194,8 @@ describe('<JobTemplateForm />', () => {
/>
);
});
wrapper.update();
await waitForElement(wrapper, 'Spinner', el => el.length === 0);
await act(async () => {
wrapper.find('input#template-name').simulate('change', {