v2.0.0
This release provides a simplified spec, with various properties and features removed. Overall the new spec is considered narrower than the previous one. Existing reporters that support old producers should naturally support new producers as well. Existing producers can choose to remain unchanged or to remove older portions in a future release.
Added
- Add
SummaryReporter
implementation.
Changed
- Spec: Rewrite current proposal into a formal specification. (Timo Tijhof)
- Spec: Remove "todo" from Assertion event data. (Keith Cirkel) #119
- Spec: Remove "tests" and "childSuites" from SuiteStart and SuiteEnd event data.
- Spec: Prefer
null
instead ofundefined
for optional fields. - TapReporter: Improve formatting of multi-line strings. #109
Fixed
- TapReporter: Fix support objects with cycles, avoiding uncaught errors. (Zachary Mulgrew) #104
- TapReporter: Defend against mocked
console
object. #125 - MochaAdapter: Fix support for Mocha 8, due to changes in
STATE_PENDING
. #116
Removed
- Remove support for Node.js 8 and older. This release requires Node.js 10 or later.
(Browser support has not changed and remains IE 9+, see README.) - Helpers: Remove the
Assertion
,Test
, andSuite
classes. - Helpers: Remove
collectSuite{Start,StartData,EndData}
methods.