-
Notifications
You must be signed in to change notification settings - Fork 213
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also add the associate flag to the neutrino bin and document it?
https://github.com/mozilla-neutrino/neutrino-dev/blob/master/docs/cli/README.md
@eliperelman Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great so far. A couple more changes; sorry for the back and forth, just want to make sure we tie up all the loose ends. :)
#### Yarn | ||
|
||
```bash | ||
❯ yarn test -- --coverage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This assumes that they are running the command via a package script, which may not always be true. Let's change these particular scripts to:
❯ neutrino test --coverage
Then maybe mention something about a script target like:
{
"scripts": {
"coverage": "neutrino test --coverage"
}
}
Thoughts?
@@ -69,6 +69,7 @@ Options: | |||
--presets A list of Neutrino presets used to configure the build [array] [default: []] | |||
--version Show version number [boolean] | |||
--help Show help [boolean] | |||
--coverage Collect test coverage information and generate report [boolean] [default: false] | |||
--watch Watch source files for changes and re-run tests [boolean] [default: false] | |||
``` | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a description of the --coverage
flag at around line 95? The --watch
flag has a similar description right above this.
Tested this locally, works great! Published this to npm for |
No description provided.