Skip to content

snapshots not getting created with -u nor tagged for cleaning up #13

Description

@chipaca

I have code that does

	expect.FromSnapshot(t, t.Name() + "Snapshots",
		comparabletypes.NewJSONFromString(somString))

where t is a sub-test (that is, this is running inside an outer t.Run)
and when running with -u this snapshot does not get created, and when one of these snapshots exists but isn't used it isn't fagged by Cleanup.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions