From 31aa353d7d4f3ba62343bcca7e87b9663b433c5c Mon Sep 17 00:00:00 2001 From: whyour Date: Mon, 12 Oct 2026 01:18:48 +0800 Subject: [PATCH] test(users): provide JWT dependency to polling fixtures --- test/back/sock-polling.test.cjs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/back/sock-polling.test.cjs b/test/back/sock-polling.test.cjs index 1acb084d..37c0b311 100644 --- a/test/back/sock-polling.test.cjs +++ b/test/back/sock-polling.test.cjs @@ -18,6 +18,7 @@ async function setup() { const clients = new Set(); const timers = new Set(); const mocks = { + jsonwebtoken: jwt, sockjs: { createServer: () => ({ on: (_, fn) => {