refactor: migrate chatCompressionService to use HookSystem (#16259)

Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
This commit is contained in:
Vedant Mahajan
2026-01-10 01:48:06 +05:30
committed by GitHub
parent 14f0cb4538
commit 9d187e041c
2 changed files with 4 additions and 10 deletions
@@ -159,6 +159,7 @@ describe('ChatCompressionService', () => {
}),
getEnableHooks: vi.fn().mockReturnValue(false),
getMessageBus: vi.fn().mockReturnValue(undefined),
getHookSystem: () => undefined,
} as unknown as Config;
vi.mocked(tokenLimit).mockReturnValue(1000);