/** * Wave 0 stub — Broker: ctag polling + change detection * * These tests are RED stubs. Implementation lives in: * apps/api/src/broker/poller.ts (Plan 03) * * Tests will be filled GREEN in Plan 03 when the poller is implemented. * * Key behavior (D-13): ctag unchanged → no DB write (skip sync entirely) */ import { describe, it } from 'vitest' describe('broker poller', () => { it.todo('skips syncCalendar when ctag is unchanged (Plan 03)') it.todo('calls syncCalendar when ctag changes (Plan 03)') it.todo('calls syncCalendar when ctag was null (first sync) (Plan 03)') it.todo('handles decryptPassword failure gracefully without crashing the poller (Plan 03)') it.todo('processes all member credentials in a poll cycle (Plan 03)') })