fix: editchannel and benchmarks

This commit is contained in:
Skillz4Killz
2021-12-03 18:28:25 +00:00
committed by GitHub
parent f54b30deb3
commit 59721b3d68
4 changed files with 14 additions and 6 deletions
+4 -1
View File
@@ -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,
});
+1
View File
@@ -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,