paraswap-dex-lib
paraswap-dex-lib copied to clipboard
TypeError: Do not know how to serialize a BigInt Error
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)`