Commit 4fca4b79 authored by Winnie Hellmann's avatar Winnie Hellmann

Update docs on running frontend tests

parent 79fd1b7e
...@@ -228,14 +228,12 @@ See this [section][vue-test]. ...@@ -228,14 +228,12 @@ See this [section][vue-test].
### Running frontend tests ### Running frontend tests
`rake karma` runs the frontend-only (JavaScript) tests. For running the frontend tests, you need the following commands:
It consists of two subtasks:
- `rake karma:fixtures` (re-)generates fixtures - `rake karma:fixtures` (re-)generates fixtures.
- `rake karma:tests` actually executes the tests - `yarn test` executes the tests.
As long as the fixtures don't change, `rake karma:tests` (or `yarn karma`) As long as the fixtures don't change, `yarn test` is sufficient (and saves you some time).
is sufficient (and saves you some time).
### Live testing and focused testing ### Live testing and focused testing
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment