chai-to-assert
Advanced tools
Changelog
1.0.0 (2017-02-15)
should
style as well (9f68bd6a)before:
$ jscodeshift -t node_modules/chai-to-assert/lib/expect-to-assert.js target-dir
after:
$ jscodeshift -t node_modules/chai-to-assert/lib/bdd-api-to-node-assert.js target-dir
Changelog
0.2.0 (2017-02-06)
.finite
.NaN
.exist
.lengthOf(value)
(alias .length
).above(value)
(alias .gt
, .greaterThan
).least(value)
(alias .gte
).below(value)
(alias .lt
, .lessThan
).most(value)
(alias .lte
).within(start, finish)
.respondTo(method)
(alias .respondsTo
).satisfy(predicate)
(alias .satisfies
).throw([errorLike], [errMsgMatcher])
(alias .throws
, .Throw
).oneOf(list)