Merge pull request #6318 from AlexSCorey/6100-ConvertWFJTandJTtoHooks

Moves JT Form to using react hooks and custom hooks

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2020-03-18 15:58:13 +00:00
committed by GitHub
2 changed files with 512 additions and 544 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -157,6 +157,7 @@ describe('<JobTemplateForm />', () => {
name: 'inventory', name: 'inventory',
}); });
}); });
wrapper.update(); wrapper.update();
await act(async () => { await act(async () => {
wrapper.find('input#template-scm-branch').simulate('change', { wrapper.find('input#template-scm-branch').simulate('change', {