Skip to content

Add BigInt serialization support  #120

Open
@Frank-Krick

Description

typemoq can currently not serialize BigInt and fails

Rejected promise returned by test. Reason:

  TypeError {
    message: 'Do not know how to serialize a BigInt',
  }

  Object.stringifyRecursion [as stringify] (node_modules/circular-json/build/circular-json.node.js:178:15)
  CircularJSON.stringify (node_modules/typemoq/dist/Common/Common/Common/Utils.ts:41:23)
  Function.Utils.argsName (node_modules/typemoq/dist/Common/Common/Common/Utils.ts:28:31)
  MatchObjectWith.toString (node_modules/typemoq/dist/Match/Match/Match/MatchObjectWith.ts:25:31)
  node_modules/typemoq/dist/Common/Common/Common/Utils.ts:31:25
  Function.Utils.argsName (node_modules/typemoq/dist/Common/Common/Common/Utils.ts:28:31)
  MethodInvocation.toString (node_modules/typemoq/dist/Proxy/Proxy/Proxy/Invocation.ts:64:54)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions