paraswap-dex-lib icon indicating copy to clipboard operation
paraswap-dex-lib copied to clipboard

TypeError: Do not know how to serialize a BigInt Error

Open muzman01 opened this issue 7 months ago • 0 comments

I am integrating squadswap v3, and I get the following two errors while testing. I pass the e2e test completely successfully. Can you help me with these errors?

`yarn run v1.22.19 $ ts-node scripts/dex-integration.ts test squadswap-v3 FAIL src/dex/squadswap-v3/squadswap-v3-integration.test.ts ● Test suite failed to run

TypeError: Do not know how to serialize a BigInt
    at stringify (<anonymous>)

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

FAIL src/dex/squadswap-v3/squadswap-v3-events.test.ts ● Test suite failed to run

TypeError: Do not know how to serialize a BigInt
    at stringify (<anonymous>)

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

muzman01 avatar Jul 25 '24 14:07 muzman01