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
5 years ago
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrap modal mutation names in template strings
parent
2704c4a5
No related merge requests found
Changes
1
Hide 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';
import
*
as
types
from
'
~/vuex_shared/modules/modal/mutation_types
'
;
describe
(
'
Vuex ModalModule mutations
'
,
()
=>
{
describe
(
types
.
SHOW
,
()
=>
{
describe
(
`
${
types
.
SHOW
}
`
,
()
=>
{
it
(
'
sets isVisible to true
'
,
()
=>
{
const
state
=
{
isVisible
:
false
,
...
...
@@ -16,7 +16,7 @@ describe('Vuex ModalModule mutations', () => {
});
});
describe
(
types
.
HIDE
,
()
=>
{
describe
(
`
${
types
.
HIDE
}
`
,
()
=>
{
it
(
'
sets isVisible to false
'
,
()
=>
{
const
state
=
{
isVisible
:
true
,
...
...
@@ -30,7 +30,7 @@ describe('Vuex ModalModule mutations', () => {
});
});
describe
(
types
.
OPEN
,
()
=>
{
describe
(
`
${
types
.
OPEN
}
`
,
()
=>
{
it
(
'
sets data and sets isVisible to true
'
,
()
=>
{
const
data
=
{
id
:
7
};
const
state
=
{
...
...
This diff is collapsed.
Click to expand it.
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