diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-28 09:08:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-28 09:08:11 +0300 |
commit | f8184e504b8aa6f77b42583a9fd08daebbdcc8ab (patch) | |
tree | 186be898556eda08cb22065731ac0b26ae6f5353 /spec/frontend/jobs | |
parent | 67e7b5a9ba9f88d4495841cb0457a2dbe3afec55 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/jobs')
-rw-r--r-- | spec/frontend/jobs/components/table/job_table_app_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/jobs/components/table/job_table_app_spec.js b/spec/frontend/jobs/components/table/job_table_app_spec.js index 8c724a8030b..109cef6f817 100644 --- a/spec/frontend/jobs/components/table/job_table_app_spec.js +++ b/spec/frontend/jobs/components/table/job_table_app_spec.js @@ -12,7 +12,7 @@ import { s__ } from '~/locale'; import createMockApollo from 'helpers/mock_apollo_helper'; import waitForPromises from 'helpers/wait_for_promises'; import { TEST_HOST } from 'spec/test_constants'; -import createFlash from '~/flash'; +import { createAlert } from '~/flash'; import getJobsQuery from '~/jobs/components/table/graphql/queries/get_jobs.query.graphql'; import JobsTable from '~/jobs/components/table/jobs_table.vue'; import JobsTableApp from '~/jobs/components/table/jobs_table_app.vue'; @@ -229,7 +229,7 @@ describe('Job table app', () => { await findFilteredSearch().vm.$emit('filterJobsBySearch', ['raw text']); - expect(createFlash).toHaveBeenCalledWith(expectedWarning); + expect(createAlert).toHaveBeenCalledWith(expectedWarning); expect(wrapper.vm.$apollo.queries.jobs.refetch).toHaveBeenCalledTimes(0); }); |