We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
expect(xx).toBe(xx) When an error occurs, the expected value and received value prompt information seem to be reversed.
expect(xx).toBe(xx)
vitest
jest
https://stackblitz.com/edit/node-w1fgff?file=package.json
System: OS: Windows 10 10.0.19044 CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz Memory: 2.54 GB / 15.86 GB Binaries: Node: 16.17.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD npm: 7.22.0 - ~\AppData\Roaming\npm\npm.CMD Browsers: Edge: Spartan (44.19041.1266.0), Chromium (112.0.1722.68) Internet Explorer: 11.0.19041.1566 npmPackages: @vitest/coverage-c8: ^0.29.8 => 0.29.8 vite: ^4.2.1 => 4.2.1 vitest: ^0.31.0 => 0.31.0
pnpm
The text was updated successfully, but these errors were encountered:
Start a new pull request in StackBlitz Codeflow.
Sorry, something went wrong.
The colors in the tooltip are reversed.
The correct tooltip might be something like:
- Expected -1 (green) - Received +1 (red) - 1 (green) + 2 (red)
Successfully merging a pull request may close this issue.
Describe the bug
expect(xx).toBe(xx)
When an error occurs, the expected value and received value prompt information seem to be reversed.
vitest
jest
Reproduction
https://stackblitz.com/edit/node-w1fgff?file=package.json
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: