Ospec: expose messages for passing tests, in addition to failing tests (#2227)

* ospec: all results, failing and passing, include .message and .context

Previously only failing tests had .message and .context.

* Updated docs

* Function was ugly

* Ospec verbose passing tests: put changelog update in right place
This commit is contained in:
Robin (Robert) Thomas 2018-11-21 14:47:10 -06:00 committed by Isiah Meadows
parent 0fd1bc9cae
commit b5219920ab
4 changed files with 14 additions and 7 deletions

View file

@ -3,6 +3,7 @@
## Upcoming...
_2018-xx-yy_
- ospec: Test results now include `.message` and `.context` regardless of whether the test passed or failed. (#2227 @robertakarobin)
<!-- Add new lines here. Version number will be decided later -->
- Add `spy.calls` array property to get the `this` and `arguments` values for any arbitrary call.
- Added `.throws` and `.notThrows` assertions to ospec. (#2255 @robertakarobin)