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
43a305d6
Commit
43a305d6
authored
Jul 06, 2020
by
Alexander Turinske
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test title to be correct
- fix test title to say it tests when something does not happen
parent
18f462ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/frontend/reports/components/report_section_spec.js
spec/frontend/reports/components/report_section_spec.js
+2
-2
No files found.
spec/frontend/reports/components/report_section_spec.js
View file @
43a305d6
...
@@ -163,7 +163,7 @@ describe('Report section', () => {
...
@@ -163,7 +163,7 @@ describe('Report section', () => {
.
catch
(
done
.
fail
);
.
catch
(
done
.
fail
);
});
});
it
(
'
emits
an event on issue toggle if the shouldEmitToggleEvent prop does exist
'
,
done
=>
{
it
(
'
does emit
an event on issue toggle if the shouldEmitToggleEvent prop does exist
'
,
done
=>
{
createComponent
({
hasIssues
:
true
,
shouldEmitToggleEvent
:
true
});
createComponent
({
hasIssues
:
true
,
shouldEmitToggleEvent
:
true
});
expect
(
wrapper
.
emitted
().
toggleEvent
).
toBeUndefined
();
expect
(
wrapper
.
emitted
().
toggleEvent
).
toBeUndefined
();
...
@@ -178,7 +178,7 @@ describe('Report section', () => {
...
@@ -178,7 +178,7 @@ describe('Report section', () => {
.
catch
(
done
.
fail
);
.
catch
(
done
.
fail
);
});
});
it
(
'
emits
an event on issue toggle if the shouldEmitToggleEvent prop does not exist
'
,
done
=>
{
it
(
'
does not emit
an event on issue toggle if the shouldEmitToggleEvent prop does not exist
'
,
done
=>
{
createComponent
({
hasIssues
:
true
});
createComponent
({
hasIssues
:
true
});
expect
(
wrapper
.
emitted
().
toggleEvent
).
toBeUndefined
();
expect
(
wrapper
.
emitted
().
toggleEvent
).
toBeUndefined
();
...
...
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