diff options
Diffstat (limited to 'spec/frontend/integrations')
-rw-r--r-- | spec/frontend/integrations/edit/components/integration_form_spec.js | 2 | ||||
-rw-r--r-- | spec/frontend/integrations/edit/components/jira_issues_fields_spec.js | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/spec/frontend/integrations/edit/components/integration_form_spec.js b/spec/frontend/integrations/edit/components/integration_form_spec.js index 58fb456eb53..5aa3ee35379 100644 --- a/spec/frontend/integrations/edit/components/integration_form_spec.js +++ b/spec/frontend/integrations/edit/components/integration_form_spec.js @@ -495,7 +495,7 @@ describe('IntegrationForm', () => { expect(refreshCurrentPage).toHaveBeenCalledTimes(1); }); - it('resets `isResetting`', async () => { + it('resets `isResetting`', () => { expect(findFormActions().props('isResetting')).toBe(false); }); }); diff --git a/spec/frontend/integrations/edit/components/jira_issues_fields_spec.js b/spec/frontend/integrations/edit/components/jira_issues_fields_spec.js index 90ee69ef2dc..82f70b8ede1 100644 --- a/spec/frontend/integrations/edit/components/jira_issues_fields_spec.js +++ b/spec/frontend/integrations/edit/components/jira_issues_fields_spec.js @@ -37,8 +37,7 @@ describe('JiraIssuesFields', () => { const findProjectKey = () => wrapper.findComponent(GlFormInput); const findProjectKeyFormGroup = () => wrapper.findByTestId('project-key-form-group'); const findJiraForVulnerabilities = () => wrapper.findByTestId('jira-for-vulnerabilities'); - const setEnableCheckbox = async (isEnabled = true) => - findEnableCheckbox().vm.$emit('input', isEnabled); + const setEnableCheckbox = (isEnabled = true) => findEnableCheckbox().vm.$emit('input', isEnabled); const assertProjectKeyState = (expectedStateValue) => { expect(findProjectKey().attributes('state')).toBe(expectedStateValue); @@ -178,7 +177,7 @@ describe('JiraIssuesFields', () => { }); describe('with no project key', () => { - it('sets Project Key `state` attribute to `undefined`', async () => { + it('sets Project Key `state` attribute to `undefined`', () => { assertProjectKeyState(undefined); }); }); |