diff --git a/test/test_discordbot.ts b/test/test_discordbot.ts index 769c9eeb6eade5cf98651c140abe6b4883188572..f6208be1d18c3d8d32377f56c27a94458ddcde8f 100644 --- a/test/test_discordbot.ts +++ b/test/test_discordbot.ts @@ -453,7 +453,7 @@ describe("DiscordBot", () => { bot.lockChannel(chan); await bot.waitUnlock(chan); const diff = Date.now() - t; - expect(diff).to.be.greaterThan(SHORTDELAY); + expect(diff).to.be.greaterThan(SHORTDELAY - 1); }); }); // });