refactor: land approved runtime cleanup and room binding cutover

This commit is contained in:
ejclaw
2026-04-10 21:04:23 +09:00
parent ce3854745d
commit 4e05f60400
45 changed files with 636 additions and 637 deletions

View File

@@ -18,7 +18,7 @@ function makeGroup(folder: string): RegisteredGroup {
describe('getInterruptedRecoveryCandidates', () => {
it('returns only registered interrupted groups and deduplicates by chatJid', () => {
const registeredGroups: Record<string, RegisteredGroup> = {
const roomBindings: Record<string, RegisteredGroup> = {
'dc:1': makeGroup('group-one'),
'dc:2': makeGroup('group-two'),
};
@@ -64,7 +64,7 @@ describe('getInterruptedRecoveryCandidates', () => {
],
};
expect(getInterruptedRecoveryCandidates(context, registeredGroups)).toEqual(
expect(getInterruptedRecoveryCandidates(context, roomBindings)).toEqual(
[
{
chatJid: 'dc:1',