mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 08:50:07 +00:00
remove assert equals
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { cache, createChannel, delay } from "../../mod.ts";
|
||||
import { defaultTestOptions, tempData } from "../ws/start_bot.ts";
|
||||
import { assertEquals, assertExists } from "../deps.ts";
|
||||
import { assertExists } from "../deps.ts";
|
||||
|
||||
Deno.test({
|
||||
name: "[channel] create a new channel",
|
||||
@@ -13,7 +13,6 @@ Deno.test({
|
||||
assertExists(channel);
|
||||
|
||||
tempData.channelId = channel.id;
|
||||
assertEquals(tempData.channelId, channel.id);
|
||||
|
||||
// Delay the execution by 5 seconds to allow CHANNEL_CREATE event to be processed
|
||||
await delay(5000);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { cache, createGuild, delay } from "../../mod.ts";
|
||||
import { defaultTestOptions, tempData } from "../ws/start_bot.ts";
|
||||
import { assertEquals, assertExists } from "../deps.ts";
|
||||
import { assertExists } from "../deps.ts";
|
||||
|
||||
Deno.test({
|
||||
name: "[guild] create a new guild",
|
||||
@@ -13,7 +13,6 @@ Deno.test({
|
||||
assertExists(guild);
|
||||
|
||||
tempData.guildId = guild.id;
|
||||
assertEquals(tempData.guildId, guild.id);
|
||||
|
||||
// Delay the execution by 5 seconds to allow GUILD_CREATE event to be processed
|
||||
await delay(5000);
|
||||
|
||||
Reference in New Issue
Block a user