mirror of
https://github.com/vitest-dev/vitest.git
synced 2026-02-01 17:36:51 +00:00
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.