diff --git a/awx/ui_next/src/screens/Application/ApplicationAdd/ApplicationAdd.test.js b/awx/ui_next/src/screens/Application/ApplicationAdd/ApplicationAdd.test.js index c16fe24ba9..d9ff13a753 100644 --- a/awx/ui_next/src/screens/Application/ApplicationAdd/ApplicationAdd.test.js +++ b/awx/ui_next/src/screens/Application/ApplicationAdd/ApplicationAdd.test.js @@ -180,7 +180,7 @@ describe('', () => { }); }); - waitForElement(wrapper, 'FormSubmitError', el => el.length > 0); + waitForElement(wrapper, 'FormSubmitError', (el) => el.length > 0); }); test('should render content error on failed read options request', async () => { ApplicationsAPI.readOptions.mockRejectedValue( diff --git a/awx/ui_next/src/screens/Template/JobTemplateEdit/JobTemplateEdit.test.js b/awx/ui_next/src/screens/Template/JobTemplateEdit/JobTemplateEdit.test.js index 31859ca261..f0e02ebd12 100644 --- a/awx/ui_next/src/screens/Template/JobTemplateEdit/JobTemplateEdit.test.js +++ b/awx/ui_next/src/screens/Template/JobTemplateEdit/JobTemplateEdit.test.js @@ -274,7 +274,7 @@ describe('', () => { data: { actions: { GET: {}, POST: {} } }, }); - useDebounce.mockImplementation(fn => fn); + useDebounce.mockImplementation((fn) => fn); }); afterEach(() => { @@ -321,7 +321,7 @@ describe('', () => { { id: 5, name: 'Maple' }, { id: 6, name: 'Tree' }, ]; - await waitForElement(wrapper, 'LabelSelect', el => el.length > 0); + await waitForElement(wrapper, 'LabelSelect', (el) => el.length > 0); act(() => { wrapper.find('LabelSelect').invoke('onChange')(labels); wrapper.update(); @@ -382,7 +382,7 @@ describe('', () => { cancelButton = await waitForElement( wrapper, 'button[aria-label="Cancel"]', - e => e.length === 1 + (e) => e.length === 1 ); }); await act(async () => { diff --git a/awx/ui_next/src/screens/Template/shared/WebhookSubForm.test.js b/awx/ui_next/src/screens/Template/shared/WebhookSubForm.test.js index 3574dfa847..7c739804b4 100644 --- a/awx/ui_next/src/screens/Template/shared/WebhookSubForm.test.js +++ b/awx/ui_next/src/screens/Template/shared/WebhookSubForm.test.js @@ -58,7 +58,7 @@ describe('', () => { }); test('should render initial values properly', () => { - waitForElement(wrapper, 'Lookup__ChipHolder', el => el.lenth > 0); + waitForElement(wrapper, 'Lookup__ChipHolder', (el) => el.lenth > 0); expect(wrapper.find('AnsibleSelect').prop('value')).toBe('github'); expect( wrapper.find('TextInputBase[aria-label="Webhook URL"]').prop('value')