Skip to content

Inject a custom Jest snapshot serializer #1

@0x24a537r9

Description

@0x24a537r9

Right now double-quotes are being escaped unnecessarily and it makes diffs unnecessarily opaque. Using a custom serializer, I could probably avoid that kind of crap: https://facebook.github.io/jest/docs/expect.html#expectaddsnapshotserializerserializer

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