mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
refactor
This commit is contained in:
@@ -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));
|
||||
});
|
||||
Reference in New Issue
Block a user