diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-04-08 20:07:20 +0200 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2019-04-10 12:50:40 +0200 |
commit | 84792c29ef6e65deae83c7d9dc97465ee9212981 (patch) | |
tree | feebc8706b4284d2defbc166817aeee85f001074 /spec | |
parent | 44d3590e36e8fb96f5cf4f97768ea4dfcb0450b9 (diff) | |
download | gitlab-ce-84792c29ef6e65deae83c7d9dc97465ee9212981.tar.gz |
Wrap import project mutation names in template strings
Diffstat (limited to 'spec')
-rw-r--r-- | spec/frontend/import_projects/store/mutations_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/import_projects/store/mutations_spec.js b/spec/frontend/import_projects/store/mutations_spec.js index 8db8e9819ba..505545f7aa5 100644 --- a/spec/frontend/import_projects/store/mutations_spec.js +++ b/spec/frontend/import_projects/store/mutations_spec.js @@ -2,7 +2,7 @@ import * as types from '~/import_projects/store/mutation_types'; import mutations from '~/import_projects/store/mutations'; describe('import_projects store mutations', () => { - describe(types.RECEIVE_IMPORT_SUCCESS, () => { + describe(`${types.RECEIVE_IMPORT_SUCCESS}`, () => { it('removes repoId from reposBeingImported and providerRepos, adds to importedProjects', () => { const repoId = 1; const state = { @@ -20,7 +20,7 @@ describe('import_projects store mutations', () => { }); }); - describe(types.RECEIVE_JOBS_SUCCESS, () => { + describe(`${types.RECEIVE_JOBS_SUCCESS}`, () => { it('updates importStatus of existing importedProjects', () => { const repoId = 1; const state = { importedProjects: [{ id: repoId, importStatus: 'started' }] }; |