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 totxtfiles, objects & arrays are serialized toyamlfiles - New
TextDriverto store snapshots intxtfiles - New
ObjectDriverto serialize data to YAML and store snapshots inyamlfiles - Removed
VarDriver