Converting circular structure to JSON in Vue

53 Views Asked by At

A complete testsuit is failing with the error below.

Test suite failed to run

**TypeError:** Converting circular structure to JSON
    --> starting at object with constructor 'Object'
    --- property '_renderProxy' closes the circle
    at stringify (<anonymous>)

  at messageParent (node_modules/jest-worker/build/workers/messageParent.js:34:19)

I tried checking all the api call and checked all the async calls. I tried to use JSONC but that didn't work. Also I have not used JSON.stringify in my testsuit anywhere.

0

There are 0 best solutions below