-
-
Notifications
You must be signed in to change notification settings - Fork 706
Closed
Description
Chai still doesn't support BigInts.
expect(BigInt(1)).to.equal(BigInt(2));
Results in TypeError: Do not know how to serialize a BigInt
(triggered by JSON.stringify).
BigInt is now a standard primitive and it would be great if Chai supported it out of the box.
Stale/closed issue: #1195. The roadmap has that issue in todo but it has not been updated since Apr 2019: https://github.com/chaijs/chai/projects/2
Metadata
Metadata
Assignees
Labels
No labels