mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 00:40:07 +00:00
enable category test
This commit is contained in:
@@ -56,6 +56,7 @@ import { getBansTests } from "./helpers/guilds/getBans.ts";
|
||||
import { getGuildTests } from "./helpers/guilds/getGuild.ts";
|
||||
import { getVanityURLTests } from "./helpers/guilds/getVanityUrl.ts";
|
||||
import { getDiscoveryCategoriesTest, validDiscoveryTermTest } from "./helpers/misc/discoveries.ts";
|
||||
import { categoryChildrenTest } from "./helpers/channels/categoryChannels.ts";
|
||||
|
||||
// CHANGE TO TRUE WHEN DEBUGGING SANITIZATION ERRORS
|
||||
const sanitizeMode = {
|
||||
@@ -541,6 +542,12 @@ Deno.test({
|
||||
},
|
||||
...sanitizeMode,
|
||||
}),
|
||||
t.step({
|
||||
name: "[channel] filter all category channels",
|
||||
async fn() {
|
||||
await categoryChildrenTest(bot, guild.id, t);
|
||||
},
|
||||
}),
|
||||
]);
|
||||
|
||||
// ALL TEST RELATED TO INVITES
|
||||
|
||||
Reference in New Issue
Block a user