diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-20 14:43:17 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-20 14:43:17 +0300 |
commit | dfc94207fec2d84314b1a5410cface22e8b369bd (patch) | |
tree | c54022f61ced104305889a64de080998a0dc773b /spec/frontend/integrations/edit/components | |
parent | b874efeff674f6bf0355d5d242ecf81c6f7155df (diff) |
Add latest changes from gitlab-org/gitlab@15-11-stable-eev15.11.0-rc42
Diffstat (limited to 'spec/frontend/integrations/edit/components')
-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); }); }); |