Skip to content

When using scenarios, don't throw until test is finished. #175

Description

@vectro

If a test has multiple scenarios, we currently throw an exception the first time we call toMatchSnapshot() with different data. But then we miss the opportunity to update the rest of the scenarios in the .snap.debug file.

It would be better to let the test finish, and then raise if necessary with all differences together.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions