Files
discordeno/tests/benchmark.ts
2021-12-03 18:28:25 +00:00

15 lines
321 B
TypeScript

import { bot } from "./mod.ts";
import { memoryBenchmarks } from "../benchmarks/index.ts";
import { sanitizeMode } from "./constants.ts";
Deno.test({
name: "[Memory] Benchmark memory tests",
fn: async (t) => {
await memoryBenchmarks(bot, {
log: true,
table: true,
});
},
...sanitizeMode,
});