Skip to content

TypeError: Do not know how to serialize a BigInt Error #744

@muzman01

Description

@muzman01

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)`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions