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
DataView
The DataView equivalence check occurs without regard to content. It is always displayed as DataView [].
DataView []
https://stackblitz.com/edit/vitest-dev-vitest-2sqzja?file=test%2Fbasic.test.ts
test('DataView diff', () => { const a = new DataView(new Uint8Array([0xaa]).buffer); const b = new DataView(new Uint8Array([0xbb]).buffer); expect(a).toStrictEqual(b); });
System: OS: macOS 13.4.1 CPU: (10) arm64 Apple M1 Max Memory: 23.81 GB / 64.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 19.8.1 - /usr/local/bin/node Yarn: 1.22.18 - /opt/homebrew/bin/yarn npm: 9.5.1 - /usr/local/bin/npm Browsers: Chrome: 114.0.5735.198 Chrome Canary: 117.0.5858.0 Firefox: 113.0.1 Safari: 16.5.1 npmPackages: @vitest/coverage-c8: ~0.30.1 => 0.30.1 vite: ^4.2.2 => 4.2.2 vitest: ^0.32.2 => 0.32.2
npm
The text was updated successfully, but these errors were encountered:
Start a new pull request in StackBlitz Codeflow.
Sorry, something went wrong.
toStrictEqual
Successfully merging a pull request may close this issue.
Describe the bug
The
DataView
equivalence check occurs without regard to content. It is always displayed asDataView []
.Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-2sqzja?file=test%2Fbasic.test.ts
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: