- setupTests.js: set globalThis.IS_REACT_ACT_ENVIRONMENT = true (RTL reads getGlobalThis, not global). Kills 'environment not configured for act'. - _mock-db.js _notify: set flag true around subscriber cb, restore prev after. RTL waitFor flips flag false mid-poll -> act() warned. Now clean. - 146 act warnings -> 0.