test(rules-injector): align duplicate-cache mock types

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-05-20 13:14:17 +09:00
parent d92894a34b
commit 53ddc470e3
+2 -2
View File
@@ -87,10 +87,10 @@ async function createProcessor(projectRoot: string): Promise<{
trackedShouldApplyRuleCount += 1;
return { applies: true, reason: "matched" };
},
isDuplicateByRealPath: (realPath: string, cache: Set<string>) =>
isDuplicateByRealPath: (realPath: string, cache: ReadonlySet<string>) =>
cache.has(realPath),
createContentHash: (content: string) => `hash:${content}`,
isDuplicateByContentHash: (hash: string, cache: Set<string>) =>
isDuplicateByContentHash: (hash: string, cache: ReadonlySet<string>) =>
cache.has(hash),
});
}