fix: update test mocks for voice message flag and CI watcher

- discord.test.ts: add IsVoiceMessage to MessageFlags mock, add
  flags.has() to message mock
- paired-execution-context.test.ts: add hasActiveCiWatcherForChat mock
This commit is contained in:
Eyejoker
2026-03-30 21:51:28 +09:00
parent 7ee915bbeb
commit 0e528bf471
2 changed files with 3 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ vi.mock('./db.js', () => ({
getPairedWorkspace: vi.fn(),
updatePairedTask: vi.fn(),
upsertPairedProject: vi.fn(),
hasActiveCiWatcherForChat: vi.fn(() => false),
}));
vi.mock('./paired-workspace-manager.js', () => ({