mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 16:57:22 +00:00
local
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { snowflakeToBigint } from "../mod.ts";
|
||||
import { assertEquals } from "./deps.ts";
|
||||
|
||||
Deno.test("[Local Test] - snowflakeToBigint ", async (t) => {
|
||||
const text = "130136895395987456";
|
||||
const big = 130136895395987456n;
|
||||
|
||||
assertEquals(big, snowflakeToBigint(text));
|
||||
});
|
||||
@@ -5,6 +5,9 @@ import { deleteMessageWithReasonTest } from "./messages/deleteMessage.ts";
|
||||
import { deleteMessageWithoutReasonTest } from "./messages/deleteMessage.ts";
|
||||
import { delayUntil } from "./utils.ts";
|
||||
|
||||
// CONDUCT LOCAL TESTS FIRST BEFORE RUNNING API TEST
|
||||
import "./local.ts";
|
||||
|
||||
Deno.test("[Bot] - Starting Tests", async (t) => {
|
||||
let startedAt = 0;
|
||||
const bot = createBot({
|
||||
|
||||
Reference in New Issue
Block a user