From 89650bc6c47563404aa1b534801af3c478e7db8e Mon Sep 17 00:00:00 2001 From: Will Hunt <will@half-shot.uk> Date: Sun, 19 May 2019 21:43:05 +0100 Subject: [PATCH] Bah -1 --- test/test_discordbot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_discordbot.ts b/test/test_discordbot.ts index 769c9ee..f6208be 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); }); }); // }); -- GitLab