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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
44d3590e
Commit
44d3590e
authored
Apr 08, 2019
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrap file template mutation names in template strings
parent
c2c8189b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
spec/frontend/ide/stores/modules/file_templates/mutations_spec.js
...ntend/ide/stores/modules/file_templates/mutations_spec.js
+5
-5
No files found.
spec/frontend/ide/stores/modules/file_templates/mutations_spec.js
View file @
44d3590e
...
@@ -9,7 +9,7 @@ describe('IDE file templates mutations', () => {
...
@@ -9,7 +9,7 @@ describe('IDE file templates mutations', () => {
state
=
createState
();
state
=
createState
();
});
});
describe
(
types
.
REQUEST_TEMPLATE_TYPES
,
()
=>
{
describe
(
`
${
types
.
REQUEST_TEMPLATE_TYPES
}
`
,
()
=>
{
it
(
'
sets isLoading
'
,
()
=>
{
it
(
'
sets isLoading
'
,
()
=>
{
mutations
[
types
.
REQUEST_TEMPLATE_TYPES
](
state
);
mutations
[
types
.
REQUEST_TEMPLATE_TYPES
](
state
);
...
@@ -17,7 +17,7 @@ describe('IDE file templates mutations', () => {
...
@@ -17,7 +17,7 @@ describe('IDE file templates mutations', () => {
});
});
});
});
describe
(
types
.
RECEIVE_TEMPLATE_TYPES_ERROR
,
()
=>
{
describe
(
`
${
types
.
RECEIVE_TEMPLATE_TYPES_ERROR
}
`
,
()
=>
{
it
(
'
sets isLoading
'
,
()
=>
{
it
(
'
sets isLoading
'
,
()
=>
{
state
.
isLoading
=
true
;
state
.
isLoading
=
true
;
...
@@ -27,7 +27,7 @@ describe('IDE file templates mutations', () => {
...
@@ -27,7 +27,7 @@ describe('IDE file templates mutations', () => {
});
});
});
});
describe
(
types
.
RECEIVE_TEMPLATE_TYPES_SUCCESS
,
()
=>
{
describe
(
`
${
types
.
RECEIVE_TEMPLATE_TYPES_SUCCESS
}
`
,
()
=>
{
it
(
'
sets isLoading to false
'
,
()
=>
{
it
(
'
sets isLoading to false
'
,
()
=>
{
state
.
isLoading
=
true
;
state
.
isLoading
=
true
;
...
@@ -43,7 +43,7 @@ describe('IDE file templates mutations', () => {
...
@@ -43,7 +43,7 @@ describe('IDE file templates mutations', () => {
});
});
});
});
describe
(
types
.
SET_SELECTED_TEMPLATE_TYPE
,
()
=>
{
describe
(
`
${
types
.
SET_SELECTED_TEMPLATE_TYPE
}
`
,
()
=>
{
it
(
'
sets selectedTemplateType
'
,
()
=>
{
it
(
'
sets selectedTemplateType
'
,
()
=>
{
mutations
[
types
.
SET_SELECTED_TEMPLATE_TYPE
](
state
,
'
type
'
);
mutations
[
types
.
SET_SELECTED_TEMPLATE_TYPE
](
state
,
'
type
'
);
...
@@ -59,7 +59,7 @@ describe('IDE file templates mutations', () => {
...
@@ -59,7 +59,7 @@ describe('IDE file templates mutations', () => {
});
});
});
});
describe
(
types
.
SET_UPDATE_SUCCESS
,
()
=>
{
describe
(
`
${
types
.
SET_UPDATE_SUCCESS
}
`
,
()
=>
{
it
(
'
sets updateSuccess
'
,
()
=>
{
it
(
'
sets updateSuccess
'
,
()
=>
{
mutations
[
types
.
SET_UPDATE_SUCCESS
](
state
,
true
);
mutations
[
types
.
SET_UPDATE_SUCCESS
](
state
,
true
);
...
...
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