mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: editchannel and benchmarks
This commit is contained in:
+4
-1
@@ -5,7 +5,10 @@ import { sanitizeMode } from "./constants.ts";
|
||||
Deno.test({
|
||||
name: "[Memory] Benchmark memory tests",
|
||||
fn: async (t) => {
|
||||
await memoryBenchmarks(bot, true);
|
||||
await memoryBenchmarks(bot, {
|
||||
log: true,
|
||||
table: true,
|
||||
});
|
||||
},
|
||||
...sanitizeMode,
|
||||
});
|
||||
|
||||
@@ -35,6 +35,7 @@ Deno.test("[thread] Start a thread", async (t) => {
|
||||
|
||||
await t.step("[thread] Edit and archive a thread", async () => {
|
||||
const edited = await bot.helpers.editChannel(thread.id, {
|
||||
// @ts-ignore
|
||||
archived: true,
|
||||
name: "new name",
|
||||
autoArchiveDuration: 1440,
|
||||
|
||||
Reference in New Issue
Block a user