bahmutov / snap-shot-core

Save / load named snapshots, useful for tests
14 stars 9 forks source link

feat: allow empty string values to be snapshotted #311

Closed flotwig closed 5 years ago

flotwig commented 5 years ago

Previously, snap-shot-core would throw an error if you pass an empty string as a value.

With this PR, it will allow it and store the empty string as a snapshot, allowing users to assert that the value of an empty string has not changed.

bahmutov commented 5 years ago

:tada: This PR is included in version 10.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: