Merge pull request #10575 from AlexSCorey/fixesFailingUnitTest

Fixes failing test

SUMMARY
Fixes a failing unit test

Reviewed-by: Keith Grant <keithjgrant@gmail.com>
This commit is contained in:
softwarefactory-project-zuul[bot]
2021-07-01 17:16:38 +00:00
committed by GitHub

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', {