diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-27 21:20:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-27 21:20:35 +0300 |
commit | fbcf5b688d3133065705b24b73330f9b9bf19181 (patch) | |
tree | 5d640c9c862feaa1ad3399fb8277c32ff70834e3 /spec/frontend/time_tracking | |
parent | e8aa488899554f5fe4413779f485583d691fd5a8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/time_tracking')
-rw-r--r-- | spec/frontend/time_tracking/components/timelog_source_cell_spec.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/frontend/time_tracking/components/timelog_source_cell_spec.js b/spec/frontend/time_tracking/components/timelog_source_cell_spec.js index b9be4689c38..14015ee4e75 100644 --- a/spec/frontend/time_tracking/components/timelog_source_cell_spec.js +++ b/spec/frontend/time_tracking/components/timelog_source_cell_spec.js @@ -3,7 +3,7 @@ import VueApollo from 'vue-apollo'; import { shallowMountExtended } from 'helpers/vue_test_utils_helper'; import TimelogSourceCell from '~/time_tracking/components/timelog_source_cell.vue'; import { - IssuableStatusText, + issuableStatusText, STATUS_CLOSED, STATUS_MERGED, STATUS_OPEN, @@ -83,10 +83,10 @@ describe('TimelogSourceCell component', () => { it.each` state | stateDescription - ${STATUS_OPEN} | ${IssuableStatusText[STATUS_OPEN]} - ${STATUS_REOPENED} | ${IssuableStatusText[STATUS_REOPENED]} - ${STATUS_LOCKED} | ${IssuableStatusText[STATUS_LOCKED]} - ${STATUS_CLOSED} | ${IssuableStatusText[STATUS_CLOSED]} + ${STATUS_OPEN} | ${issuableStatusText[STATUS_OPEN]} + ${STATUS_REOPENED} | ${issuableStatusText[STATUS_REOPENED]} + ${STATUS_LOCKED} | ${issuableStatusText[STATUS_LOCKED]} + ${STATUS_CLOSED} | ${issuableStatusText[STATUS_CLOSED]} `('shows $stateDescription when the state is $state', ({ state, stateDescription }) => { mountComponent(createIssuableTimelogMock('issue', { state })); @@ -124,9 +124,9 @@ describe('TimelogSourceCell component', () => { }); it.each` state | stateDescription - ${STATUS_OPEN} | ${IssuableStatusText[STATUS_OPEN]} - ${STATUS_CLOSED} | ${IssuableStatusText[STATUS_CLOSED]} - ${STATUS_MERGED} | ${IssuableStatusText[STATUS_MERGED]} + ${STATUS_OPEN} | ${issuableStatusText[STATUS_OPEN]} + ${STATUS_CLOSED} | ${issuableStatusText[STATUS_CLOSED]} + ${STATUS_MERGED} | ${issuableStatusText[STATUS_MERGED]} `('shows $stateDescription when the state is $state', ({ state, stateDescription }) => { mountComponent(createIssuableTimelogMock('mergeRequest', { state })); |