diff --git a/packages/alsatian/core/stringification/stringify.ts b/packages/alsatian/core/stringification/stringify.ts index f648958f..a94be26a 100644 --- a/packages/alsatian/core/stringification/stringify.ts +++ b/packages/alsatian/core/stringification/stringify.ts @@ -60,6 +60,10 @@ function circularReplacer( if (typeof value === "function") { return value.toString(); } + + if (typeof value === "bigint") { + return value.toString() + 'n'; + } if (typeof value === "object" && value !== null) { if (cache.indexOf(value) !== -1) {