feat(planning): ship holiday-aware planning and assistant upgrades

This commit is contained in:
2026-03-28 22:49:28 +01:00
parent 2a005794e7
commit 4f48afe7b4
151 changed files with 17738 additions and 1940 deletions
@@ -24,10 +24,12 @@ vi.mock("ioredis", () => {
describe("event-bus debounce", () => {
let received: SseEvent[];
let unsubscribe: () => void;
let consoleWarnSpy: ReturnType<typeof vi.spyOn>;
beforeEach(() => {
vi.useFakeTimers();
received = [];
consoleWarnSpy = vi.spyOn(console, "warn").mockImplementation(() => undefined);
unsubscribe = eventBus.subscribe((event) => {
received.push(event);
});
@@ -36,6 +38,7 @@ describe("event-bus debounce", () => {
afterEach(() => {
unsubscribe();
cancelPendingEvents();
consoleWarnSpy.mockRestore();
vi.useRealTimers();
});