mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-30 15:30:07 +00:00
* Create deno.json * run format * run format * ci: only check formatting * f * Update settings.json * Update settings.json
13 lines
288 B
TypeScript
13 lines
288 B
TypeScript
import { assertEquals, assertExists } from "../deps.ts";
|
|
import { bot } from "../mod.ts";
|
|
|
|
Deno.test({
|
|
name: "[User] get a user and transform",
|
|
fn: async (t) => {
|
|
const user = await bot.helpers.getUser(bot.id);
|
|
assertExists(user);
|
|
|
|
assertEquals(user.id, bot.id);
|
|
},
|
|
});
|