Speed up all remaining unit tests below threshold (40ms?)

This commit is contained in:
Daniel Imms
2026-01-31 15:50:51 -08:00
parent 1c42957461
commit 34e68b1ad4
5 changed files with 56 additions and 43 deletions
+1 -1
View File
@@ -278,7 +278,7 @@ class TestHandlerAsync implements IDcsHandler {
}
public async unhook(success: boolean): Promise<boolean> {
// simple sleep to check in tests whether ordering gets messed up
await new Promise(res => setTimeout(res, 20));
await Promise.resolve();
this.output.push([this.msg, 'UNHOOK', success]);
if (this.returnFalse) {
return false;