You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4.3.4 finally fixed BigInt display in should assertions, which is currently a critical issue with every JS kata that use BigInts in test assertions because this would be displayed when tests with them fail:
const chai = require("chai");
const assert = chai.assert;
chai.config.truncateThreshold = 0;
describe("example tests", function() {
it("returns correct values for example N", function() {
assert.deepEqual([1n, 2n], [3n, 4n], "Failed when n = 3");
});
});
The text was updated successfully, but these errors were encountered:
https://github.com/chaijs/chai/releases/tag/v4.3.4
4.3.4 finally fixed
BigInt
display inshould
assertions, which is currently a critical issue with every JS kata that useBigInt
s in test assertions because this would be displayed when tests with them fail:The text was updated successfully, but these errors were encountered: