test: Fix GitHub sync conflict mock typing

This commit is contained in:
Danny Avila 2026-05-30 12:26:47 -07:00
parent 0244b4f096
commit f3c526ea4d
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956

View file

@ -947,7 +947,7 @@ describe('createGitHubSkillSyncRunner', () => {
source: 'local',
})),
deleteFile: jest.fn(async () => undefined),
updateSkill: jest.fn(async () => ({ status: 'conflict' as const })),
updateSkill: jest.fn(async () => ({ status: 'conflict' as const, current: existing })),
});
const runner = createGitHubSkillSyncRunner(deps);
const result = await runner.runOnce();