You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tests): hoist bootstrap mocks in idempotency test to survive clearAllMocks
checkBootstrapNeeded and bootstrapEnvironment were created as inline
vi.fn() inside the vi.mock factory. vi.clearAllMocks() in beforeEach
wipes their mockResolvedValue, causing handleImport to fail in CI
where test execution order differs from local runs.
Hoist the mocks and configure them in setupCommonMocks like all other
mock functions in the file.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments