This commit is contained in:
Skillz4Killz
2021-10-29 16:32:57 +00:00
committed by GitHub
parent 0dd9f9a497
commit ba3d222cb0
4 changed files with 14 additions and 14 deletions
+9
View File
@@ -0,0 +1,9 @@
import { snowflakeToBigint } from "../../src/util/bigint.ts";
import { assertEquals } from "../deps.ts";
Deno.test("[Local Test] - snowflakeToBigint ", async (t) => {
const text = "130136895395987456";
const big = 130136895395987456n;
assertEquals(big, snowflakeToBigint(text));
});