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

[Bug]: toEqual throws a TypeError #15471

Open
MillerSvt opened this issue Jan 20, 2025 · 0 comments
Open

[Bug]: toEqual throws a TypeError #15471

MillerSvt opened this issue Jan 20, 2025 · 0 comments

Comments

@MillerSvt
Copy link
Contributor

MillerSvt commented Jan 20, 2025

Version

29.7.0

Steps to reproduce

expect({file: new Blob([new Uint8Array([1, 2, 3])])}).toEqual({file: null});

Expected behavior

Test fail with valid message

Actual behavior

Test fail with error TypeError: Cannot read private member #channel from an object whose class did not declare it

Additional context

Related issues: #10167

Environment

System:
    OS: macOS 15.1
    CPU: (10) arm64 Apple M1 Pro
  Binaries:
    Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v20.12.2/bin/yarn
    npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm
    pnpm: 9.7.0 - ~/.nvm/versions/node/v20.12.2/bin/pnpm
  npmPackages:
    jest: 29.7.0 => 29.7.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant