Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the order of arguments in the Jest matcher util #1245

Merged
merged 1 commit into from May 6, 2022

Commits on May 5, 2022

  1. fix: correctly order arguments in Jest diff util

    Some custom matchers like `@testing-library/jest-dom` use
    `this.utils.diff` for the output. In Jest the order of arguments in that
    util is "expected", then "received", so we're fixing the order of those
    arguments here to match Jest's implementation.
    silvenon committed May 5, 2022
    Copy the full SHA
    a8b090d View commit details
    Browse the repository at this point in the history