From 18f7a0239d9a54da8b790a0f6e90fe76bc841e8b Mon Sep 17 00:00:00 2001 From: KnorpelSenf Date: Wed, 13 Nov 2024 18:36:04 +0100 Subject: [PATCH] test: fix bad prefix --- test/convenience/session.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/convenience/session.test.ts b/test/convenience/session.test.ts index 2e76eea3..b412e7ae 100644 --- a/test/convenience/session.test.ts +++ b/test/convenience/session.test.ts @@ -142,7 +142,7 @@ describe("session", () => { let ctx = { chatId: 42 } as C; composer.use( session({ - prefix: "xyz", + prefix: "xyz-", getSessionKey: (ctx) => ctx.chatId ? (ctx.chatId ** 2).toString() : undefined, storage,