core tests
Some checks failed
Contract Testing / contract-tests (pull_request) Failing after 5m51s
Contract Testing / contract-snapshot (pull_request) Has been skipped

This commit is contained in:
2026-01-22 18:44:01 +01:00
parent 093eece3d7
commit 280d6fc199
7 changed files with 96 additions and 7 deletions

View File

@@ -409,6 +409,8 @@ describe('UseCaseOutputPort', () => {
present: (data: { key: string; data: unknown }) => {
if (cache.has(data.key)) {
cacheHits.push(data.key);
// Update cache with new data even if key exists
cache.set(data.key, data.data);
} else {
cacheMisses.push(data.key);
cache.set(data.key, data.data);