perf(test): remove timer waits in hooks and discord monitor tests

This commit is contained in:
Peter Steinberger
2026-02-18 16:45:48 +00:00
parent 4605dfd2ae
commit 36996194cd
2 changed files with 2 additions and 3 deletions

View File

@@ -109,7 +109,7 @@ describe("hooks", () => {
it("should handle async handlers", async () => {
const handler = vi.fn(async () => {
await new Promise((resolve) => setTimeout(resolve, 10));
await Promise.resolve();
});
registerInternalHook("command:new", handler);