remove assert equals

This commit is contained in:
Skillz4Killz
2021-04-09 17:42:29 +00:00
committed by GitHub
parent a6536519ab
commit 00a0d04b14
2 changed files with 2 additions and 4 deletions

View File

@@ -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);

View File

@@ -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);