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].
### 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
......
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