summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2019-04-08 20:07:20 +0200
committerWinnie Hellmann <winnie@gitlab.com>2019-04-10 12:50:40 +0200
commit84792c29ef6e65deae83c7d9dc97465ee9212981 (patch)
treefeebc8706b4284d2defbc166817aeee85f001074
parent44d3590e36e8fb96f5cf4f97768ea4dfcb0450b9 (diff)
downloadgitlab-ce-84792c29ef6e65deae83c7d9dc97465ee9212981.tar.gz
Wrap import project mutation names in template strings
-rw-r--r--spec/frontend/import_projects/store/mutations_spec.js4
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' }] };