4.0.0
Snapshots generated with assertMatchesSnapshot
will break when upgrading to this version. The easiest way to upgrade is to ensure your snapshot tests pass, delete your snapshots, upgrade the package, then rerun the tests to generate new snapshots.
- New snapshot formats when using
assertMatchesSnapshot
: scalars (strings, integers & floats) are serialized totxt
files, objects & arrays are serialized toyaml
files - New
TextDriver
to store snapshots intxt
files - New
ObjectDriver
to serialize data to YAML and store snapshots inyaml
files - Removed
VarDriver