Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail tests if no snapshot exists (#43)
* Update cupaloy.go ``` cupaloy.Global = cupaloy.Global.WithOptions( cupaloy.CreateNewAutomatically(false), cupaloy.EnvVariableName(updateSnapshotsEnv), cupaloy.FailOnUpdate(false), cupaloy.ShouldUpdate(func() bool { return updateSnapshot}), cupaloy.SnapshotSubdirectory(updateSnapshotsDir), ) ``` Sorry missed this earlier. This is the set of config I'm using. When snapshots don't exist and I'm running in bazel setting it is not failing as expected. * Update unit tests * Update assert called with mock.Anything
- Loading branch information