mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 01:10:07 +00:00
10 lines
283 B
TypeScript
10 lines
283 B
TypeScript
import { Bot } from "../../../src/bot.ts";
|
|
import { assertExists } from "../../deps.ts";
|
|
|
|
export async function getUserTests(bot: Bot, t: Deno.TestContext) {
|
|
const user = await bot.helpers.getUser(bot.id);
|
|
assertExists(user);
|
|
|
|
assertExists(bot.transformers.user(bot, user));
|
|
}
|