mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
Merge branch 'main' into threads
This commit is contained in:
@@ -40,7 +40,12 @@ Deno.test({
|
||||
fn() {
|
||||
const converted = loopObject(
|
||||
objWithBigints,
|
||||
(value) => typeof value === "bigint" ? value.toString() : value,
|
||||
(value) =>
|
||||
typeof value === "bigint"
|
||||
? value.toString()
|
||||
: Array.isArray(value)
|
||||
? value.map((v) => typeof v === "bigint" ? v.toString() : v)
|
||||
: value,
|
||||
`Running for loop in unit test function for changing bigints to strings.`,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user