Skip to content

Custom jest matcher #40

@CheerlessCloud

Description

@CheerlessCloud

I think we should provide something like this:

expect(() => {
  throw new EError('Something went wrong').combine({ tracingId: 42 });
}).toThrowErrorObject({ message: 'Something went wrong', tracingId: 42 });

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions