Open
Description
Version
1.51.0
Steps to reproduce
- Create a test spec
- import {MaxUint256} from "ethers";
- add an expect to spec as example:
const value = {
owner: 'address',
spender: 'address',
value: '115792089237316195423570985008687907853269984665640564039457584007913129639935',
nonce: '0'
};
expect(value).toEqual(
{
owner: 'address',
spender: 'address',
value: MaxUint256,
nonce: '0'
}
)
- run test
Expected behavior
test failed on serialisation of a BigInt or values missmatch
Actual behavior
test does not fails
test reruns endlessly
Additional context
No response
Environment
System:
OS: macOS 15.5
CPU: (10) x64 Apple M1 Max
Memory: 118.77 MB / 32.00 GB
Binaries:
Node: 21.6.1 - /usr/local/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 10.2.4 - /usr/local/bin/npm
pnpm: 9.15.5 - ~/node_modules/.bin/pnpm
Languages:
Bash: 3.2.57 - /bin/bash
npmPackages:
@playwright/test: ^1.51.0 => 1.51.0
Metadata
Metadata
Assignees
Labels
No labels