mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-30 23:40:07 +00:00
13 lines
291 B
TypeScript
13 lines
291 B
TypeScript
import { 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);
|
|
|
|
assertExists(bot.transformers.user(bot, user));
|
|
},
|
|
});
|