a few user tests

This commit is contained in:
Skillz4Killz
2021-11-02 19:50:24 +00:00
committed by GitHub
parent 300c760480
commit 2cf17ceee0
2 changed files with 9 additions and 5 deletions

View File

@@ -1,5 +0,0 @@
import { Bot } from "../../../src/bot.ts";
export async function avatarURL(bot: Bot, t: Deno.TestContext) {
}

View File

@@ -0,0 +1,9 @@
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));
}