mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 17:30:07 +00:00
a few user tests
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
import { Bot } from "../../../src/bot.ts";
|
||||
|
||||
export async function avatarURL(bot: Bot, t: Deno.TestContext) {
|
||||
|
||||
}
|
||||
9
tests/helpers/misc/user.ts
Normal file
9
tests/helpers/misc/user.ts
Normal 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));
|
||||
}
|
||||
Reference in New Issue
Block a user