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
043aa6f3
Commit
043aa6f3
authored
Mar 01, 2019
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix eslint violations
parent
44d93b55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/javascripts/notes/components/note_form_spec.js
spec/javascripts/notes/components/note_form_spec.js
+3
-3
No files found.
spec/javascripts/notes/components/note_form_spec.js
View file @
043aa6f3
...
...
@@ -113,7 +113,7 @@ describe('issue_note_form component', () => {
it
(
'
should ender edit mode
'
,
()
=>
{
// TODO: do not spy on vm
spyOn
(
wrapper
.
vm
,
'
editMyLastNote
'
).
and
.
callThrough
();
const
textarea
=
wrapper
.
find
(
'
textarea
'
);
textarea
=
wrapper
.
find
(
'
textarea
'
);
textarea
.
setValue
(
'
Foo
'
);
textarea
.
trigger
(
'
keydown.up
'
);
...
...
@@ -123,7 +123,7 @@ describe('issue_note_form component', () => {
describe
(
'
enter
'
,
()
=>
{
it
(
'
should save note when cmd+enter is pressed
'
,
()
=>
{
const
textarea
=
wrapper
.
find
(
'
textarea
'
);
textarea
=
wrapper
.
find
(
'
textarea
'
);
textarea
.
setValue
(
'
Foo
'
);
textarea
.
trigger
(
'
keydown.enter
'
,
{
metaKey
:
true
});
...
...
@@ -133,7 +133,7 @@ describe('issue_note_form component', () => {
});
it
(
'
should save note when ctrl+enter is pressed
'
,
()
=>
{
const
textarea
=
wrapper
.
find
(
'
textarea
'
);
textarea
=
wrapper
.
find
(
'
textarea
'
);
textarea
.
setValue
(
'
Foo
'
);
textarea
.
trigger
(
'
keydown.enter
'
,
{
ctrlKey
:
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