Files
discordeno/tests/benchmark.ts
2021-11-22 16:34:30 +00:00

12 lines
282 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, true);
},
...sanitizeMode,
});