diff options
Diffstat (limited to 'spec/frontend/sidebar/components/time_tracking/create_timelog_form_spec.js')
-rw-r--r-- | spec/frontend/sidebar/components/time_tracking/create_timelog_form_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/sidebar/components/time_tracking/create_timelog_form_spec.js b/spec/frontend/sidebar/components/time_tracking/create_timelog_form_spec.js index cb3bb7a4538..715f66d305a 100644 --- a/spec/frontend/sidebar/components/time_tracking/create_timelog_form_spec.js +++ b/spec/frontend/sidebar/components/time_tracking/create_timelog_form_spec.js @@ -7,7 +7,7 @@ import waitForPromises from 'helpers/wait_for_promises'; import { convertToGraphQLId } from '~/graphql_shared/utils'; import CreateTimelogForm from '~/sidebar/components/time_tracking/create_timelog_form.vue'; import createTimelogMutation from '~/sidebar/queries/create_timelog.mutation.graphql'; -import { TYPE_ISSUE, TYPE_MERGE_REQUEST } from '~/graphql_shared/constants'; +import { TYPENAME_ISSUE, TYPENAME_MERGE_REQUEST } from '~/graphql_shared/constants'; const mockMutationErrorMessage = 'Example error message'; @@ -157,8 +157,8 @@ describe('Create Timelog Form', () => { it.each` issuableType | typeConstant - ${'issue'} | ${TYPE_ISSUE} - ${'merge_request'} | ${TYPE_MERGE_REQUEST} + ${'issue'} | ${TYPENAME_ISSUE} + ${'merge_request'} | ${TYPENAME_MERGE_REQUEST} `( 'calls the mutation with all the fields when the the form is submitted and issuable type is $issuableType', async ({ issuableType, typeConstant }) => { |