[ospec] Make the default reporting nicer looking (#2147)
* feat(ospec): Add spacing before report results ...sometimes tested code emits console.log() messages which then blend in with ospec's report * feat(ospec): Reword and prettify the report messages * feat(ospec): Make console.errors more compact, yet more readable * docs(ospec): Update change-log.md * fix(ospec): Fix grammar when number of assertions is 1 * feat(ospec): Make "all passed" message bright green * refactor(ospec): define `cStyle()` helper for browser styling * feat(ospec): Use en-dashes for the horizontal divider * feat(ospec): Revert stacktrace coloring, make context bright red ...and add extra newline above each error - for readability in commandline (node.js) mode * feat(ospec): Improve the only-test-passed message "1 assertion passed" --> "The 1 assertion passed" * docs: Update LOC count
This commit is contained in:
parent
11940b427b
commit
2794ceb76f
3 changed files with 32 additions and 10 deletions
|
|
@ -2,9 +2,8 @@
|
|||
|
||||
|
||||
## Upcoming...
|
||||
_2018-xx-xx_
|
||||
<!-- Add new lines here. Version number will be decided later -->
|
||||
- ...
|
||||
- Improved wording, spacing and color-coding of report messages and errors ([#2147](https://github.com/MithrilJS/mithril.js/pull/2147), [@maranomynet](https://github.com/maranomynet))
|
||||
|
||||
|
||||
## 2.0.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue