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
Léo-Paul Géneau
gitlab-ce
Commits
7a255af4
Commit
7a255af4
authored
Apr 08, 2019
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrap modal mutation names in template strings
parent
2704c4a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/frontend/vuex_shared/modules/modal/mutations_spec.js
spec/frontend/vuex_shared/modules/modal/mutations_spec.js
+3
-3
No files found.
spec/frontend/vuex_shared/modules/modal/mutations_spec.js
View file @
7a255af4
...
@@ -2,7 +2,7 @@ import mutations from '~/vuex_shared/modules/modal/mutations';
...
@@ -2,7 +2,7 @@ import mutations from '~/vuex_shared/modules/modal/mutations';
import
*
as
types
from
'
~/vuex_shared/modules/modal/mutation_types
'
;
import
*
as
types
from
'
~/vuex_shared/modules/modal/mutation_types
'
;
describe
(
'
Vuex ModalModule mutations
'
,
()
=>
{
describe
(
'
Vuex ModalModule mutations
'
,
()
=>
{
describe
(
types
.
SHOW
,
()
=>
{
describe
(
`
${
types
.
SHOW
}
`
,
()
=>
{
it
(
'
sets isVisible to true
'
,
()
=>
{
it
(
'
sets isVisible to true
'
,
()
=>
{
const
state
=
{
const
state
=
{
isVisible
:
false
,
isVisible
:
false
,
...
@@ -16,7 +16,7 @@ describe('Vuex ModalModule mutations', () => {
...
@@ -16,7 +16,7 @@ describe('Vuex ModalModule mutations', () => {
});
});
});
});
describe
(
types
.
HIDE
,
()
=>
{
describe
(
`
${
types
.
HIDE
}
`
,
()
=>
{
it
(
'
sets isVisible to false
'
,
()
=>
{
it
(
'
sets isVisible to false
'
,
()
=>
{
const
state
=
{
const
state
=
{
isVisible
:
true
,
isVisible
:
true
,
...
@@ -30,7 +30,7 @@ describe('Vuex ModalModule mutations', () => {
...
@@ -30,7 +30,7 @@ describe('Vuex ModalModule mutations', () => {
});
});
});
});
describe
(
types
.
OPEN
,
()
=>
{
describe
(
`
${
types
.
OPEN
}
`
,
()
=>
{
it
(
'
sets data and sets isVisible to true
'
,
()
=>
{
it
(
'
sets data and sets isVisible to true
'
,
()
=>
{
const
data
=
{
id
:
7
};
const
data
=
{
id
:
7
};
const
state
=
{
const
state
=
{
...
...
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