Upgrading ava 0.11 to 0.12
Breaking0.11.0 → 0.12.0Breaking2New1Changed2Fixed1Other1
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- The assertion for checking that code does not throw has a new name. The old name still works for now but will be removed in version 1.0.0.
- An undocumented assertion for matching regular expressions is gone, replaced by a new one that takes its arguments in the usual order.
Must act 2 items need code or config changes
Adds chokidar ^1.4.2, common-path-prefix ^1.0.0, ignore-by-default ^1.0.0, multimatch ^2.1.0.
Drops commondir.
Installs 557 packages in all (was 406).
Also installs anymatch, arr-diff, arr-union, array-differ, array-unique, assign-symbols, async-each, atob, base, binary-extensions, bindings, braces, cache-base, class-utils, collection-visit and 78 more.
Moves stack-utils 0.3.0 → 0.4.0. Your build may pick other versions.
What you must change
Breaking2
Renames t.doesNotThrow() to t.notThrows() for consistency with other assert methods; t.doesNotThrow() will be removed in AVA 1.0.0.
t.doesNotThrow()t.notThrows()Removes the undocumented t.regexTest() assert method and adds t.regex() with the same argument order as other assert methods.
t.regexTest()t.regex()