You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using expect.toEqual or expect.toMatchObject to test a object that with multiple circular references, it will make maximum call stack size exceeded error.
Describe the bug
When using
expect.toEqual
orexpect.toMatchObject
to test a object that with multiple circular references, it will make maximum call stack size exceeded error.PS: It works in v1.1.3.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-qd5xyk?file=test%2Fsuite.test.ts&view=editor
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: