v0.0.22 (alpha)
Pre-release
Pre-release
Changes since last release
- Many core reflection methods were pulled into a separate reflection API. These may be accessed via
t.reflect()
, and the methods moved are:t.wrap
->reflect.wrap
t.add
->reflect.add
t.base
->reflect.base
t.reporters
->reflect.activeReporters
t.timeout
(getter, not setter) ->reflect.activeTimeout
t.do
->reflect.do
t.checkInit
->reflect.checkInit
t.AssertionError
->reflect.AssertionError
t.inline
->reflect.inline
t.define
, when not wrapped, is synonymous withreflect.define
- New reflection APIs were added:
reflect.root()
reflect.runnable()
reflect.skipped()
reflect.root()
reflect.async()
reflect.parent()
reflect.methods()
reflect.reporters()
(own, not active)reflect.timeout()
(own, not active)
- The TypeScript definitions now have their methods documented with actual JSDoc-style comments.
t.reporter(...)
andt.use(...)
no longer accept arrays at all, but they are still variadic.t.define
/reflect.define
will not let you overwrite API methods.reflect.add
(wast.add
) will not let you overwrite existing methods or values. These must be deleted or set toundefined
first.reflect.wrap
(wast.wrap
) will not let you overwritet.reflect
or the internalt._
. These must be deleted or set toundefined
first.- Clarified docs in several places
- Several bug fixes