fix: merge tags did not update disc

This commit is contained in:
2026-02-15 21:08:41 +01:00
parent 97c0ee6877
commit 8b70214d15
3 changed files with 49 additions and 0 deletions

View File

@@ -123,6 +123,13 @@ vi.mock('../../src/main/engine/TaskManager', () => ({
},
}));
// Mock PostEngine - only mock the syncPublishedPostFile method used by TagEngine
vi.mock('../../src/main/engine/PostEngine', () => ({
getPostEngine: vi.fn(() => ({
syncPublishedPostFile: vi.fn(async () => true),
})),
}));
describe('TagEngine', () => {
let tagEngine: TagEngine;