Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BigInt serialization support #120

Open
Frank-Krick opened this issue Jan 17, 2019 · 0 comments
Open

Add BigInt serialization support #120

Frank-Krick opened this issue Jan 17, 2019 · 0 comments

Comments

@Frank-Krick
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant