From 4a6eff55581a3052b4afb7ca15818cf2b40f06e3 Mon Sep 17 00:00:00 2001 From: Khuda Dad Nomani Date: Thu, 12 Oct 2023 14:52:49 +0100 Subject: [PATCH] fix(hopefully) test error --- test/lib/adapter.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/lib/adapter.test.ts b/test/lib/adapter.test.ts index 5d46f3c98..6be1e98a6 100644 --- a/test/lib/adapter.test.ts +++ b/test/lib/adapter.test.ts @@ -6,6 +6,8 @@ import GleeMessage from '../../src/lib/message.js' import GleeAdapter from '../../src/lib/adapter.js' import { jest } from '@jest/globals' +jest.useFakeTimers() + const TEST_SERVER_NAME = 'test' const ANOTHER_TEST_SERVER_NAME = 'another' const TEST_CHANNEL = 'test/channel'