This commit is contained in:
itohatweb
2021-04-13 07:26:23 +00:00
parent 174ec859f1
commit 5afa6f2c13
10 changed files with 132 additions and 86 deletions
+7 -7
View File
@@ -3,11 +3,11 @@ import { createChannel } from "../../src/helpers/channels/create_channel.ts";
import { deleteChannel } from "../../src/helpers/channels/delete_channel.ts";
import { defaultTestOptions, tempData } from "../ws/start_bot.ts";
import { delayUntil } from "../util/delay_until.ts";
import {editChannel} from "../../src/helpers/channels/edit_channel.ts";
import {assertEquals} from "../deps.ts";
import {getChannel} from "../../src/helpers/channels/get_channel.ts";
import {botId} from "../../src/bot.ts";
import {getChannels} from "../../src/helpers/channels/get_channels.ts";
import { editChannel } from "../../src/helpers/channels/edit_channel.ts";
import { assertEquals } from "../deps.ts";
import { getChannel } from "../../src/helpers/channels/get_channel.ts";
import { botId } from "../../src/bot.ts";
import { getChannels } from "../../src/helpers/channels/get_channels.ts";
Deno.test({
name: "[channel] get channels.",
@@ -19,8 +19,8 @@ Deno.test({
await delayUntil(3000, () => cache.channels.size > 0);
assertEquals(
cache.channels.size > 0,
true,
cache.channels.size > 0,
true,
);
},
...defaultTestOptions,