fix: inyectar GroupSyncService.dbInstance y limpiar caché en tests

Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
main
borja 3 weeks ago
parent a46ecf6cda
commit 51a623450d

@ -17,6 +17,8 @@ beforeEach(() => {
initializeDatabase(memDb);
(CommandService as any).dbInstance = memDb;
(TaskService as any).dbInstance = memDb;
(GroupSyncService as any).dbInstance = memDb;
GroupSyncService.activeGroupsCache.clear();
});
test('listar grupo por defecto con /t ver en grupo e incluir “… y X más”', async () => {

Loading…
Cancel
Save