Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
84792c29
Commit
84792c29
authored
Apr 08, 2019
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrap import project mutation names in template strings
parent
44d3590e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/frontend/import_projects/store/mutations_spec.js
spec/frontend/import_projects/store/mutations_spec.js
+2
-2
No files found.
spec/frontend/import_projects/store/mutations_spec.js
View file @
84792c29
...
@@ -2,7 +2,7 @@ import * as types from '~/import_projects/store/mutation_types';
...
@@ -2,7 +2,7 @@ import * as types from '~/import_projects/store/mutation_types';
import
mutations
from
'
~/import_projects/store/mutations
'
;
import
mutations
from
'
~/import_projects/store/mutations
'
;
describe
(
'
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
'
,
()
=>
{
it
(
'
removes repoId from reposBeingImported and providerRepos, adds to importedProjects
'
,
()
=>
{
const
repoId
=
1
;
const
repoId
=
1
;
const
state
=
{
const
state
=
{
...
@@ -20,7 +20,7 @@ describe('import_projects store mutations', () => {
...
@@ -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
'
,
()
=>
{
it
(
'
updates importStatus of existing importedProjects
'
,
()
=>
{
const
repoId
=
1
;
const
repoId
=
1
;
const
state
=
{
importedProjects
:
[{
id
:
repoId
,
importStatus
:
'
started
'
}]
};
const
state
=
{
importedProjects
:
[{
id
:
repoId
,
importStatus
:
'
started
'
}]
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment