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
e9ea40bc
Commit
e9ea40bc
authored
Mar 20, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
da0b73de
c238ba7f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
app/assets/javascripts/notes/components/note_actions/reply_button.vue
...avascripts/notes/components/note_actions/reply_button.vue
+1
-1
doc/development/testing_guide/frontend_testing.md
doc/development/testing_guide/frontend_testing.md
+4
-6
package.json
package.json
+1
-0
No files found.
app/assets/javascripts/notes/components/note_actions/reply_button.vue
View file @
e9ea40bc
...
...
@@ -18,7 +18,7 @@ export default {
<div
class=
"note-actions-item"
>
<gl-button
ref=
"button"
v-gl-tooltip
.
bottom
v-gl-tooltip
class=
"note-action-button"
variant=
"transparent"
:title=
"__('Reply to comment')"
...
...
doc/development/testing_guide/frontend_testing.md
View file @
e9ea40bc
...
...
@@ -225,14 +225,12 @@ See this [section][vue-test].
### Running frontend tests
`rake karma`
runs the frontend-only (JavaScript) tests.
It consists of two subtasks:
For running the frontend tests, you need the following commands:
-
`rake karma:fixtures`
(re-)generates fixtures
-
`
rake karma:tests`
actually executes the tests
-
`rake karma:fixtures`
(re-)generates fixtures
.
-
`
yarn test`
executes the tests.
As long as the fixtures don't change,
`rake karma:tests`
(or
`yarn karma`
)
is sufficient (and saves you some time).
As long as the fixtures don't change,
`yarn test`
is sufficient (and saves you some time).
### Live testing and focused testing
...
...
package.json
View file @
e9ea40bc
...
...
@@ -17,6 +17,7 @@
"prettier-all"
:
"node ./scripts/frontend/prettier.js check-all"
,
"prettier-all-save"
:
"node ./scripts/frontend/prettier.js save-all"
,
"stylelint"
:
"node node_modules/stylelint/bin/stylelint.js app/assets/stylesheets/**/*.* --custom-formatter node_modules/stylelint-error-string-formatter"
,
"test"
:
"yarn jest && yarn karma"
,
"webpack"
:
"webpack --config config/webpack.config.js"
,
"webpack-prod"
:
"NODE_ENV=production webpack --config config/webpack.config.js"
},
...
...
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