This commit is contained in:
Nate 2025-08-31 17:37:32 -07:00
parent e2bb07bc03
commit 0bfb9345d3

View file

@ -247,7 +247,9 @@ describe("slashCommands", () => {
it("should use test session directory when in test mode", async () => {
const { isAuthenticated } = await import("./auth/workos.js");
const { services } = await import("./services/index.js");
const { getSessionFilePath, getCurrentSession } = await import("./session.js");
const { getSessionFilePath, getCurrentSession } = await import(
"./session.js"
);
// Mock the session functions for this specific test
(getSessionFilePath as any).mockReturnValue(