fix: enhance LAPI readiness checks and update related UI feedback

This commit is contained in:
GitHub Actions
2025-12-14 17:31:06 +00:00
parent c43976f84a
commit 0bba5ad05f
24 changed files with 2841 additions and 82 deletions

View File

@@ -193,7 +193,7 @@ describe('Security', () => {
crowdsec: { mode: 'local', api_url: 'http://localhost', enabled: false },
})
vi.mocked(crowdsecApi.statusCrowdsec).mockResolvedValue({ running: false })
vi.mocked(crowdsecApi.startCrowdsec).mockResolvedValue({ success: true })
vi.mocked(crowdsecApi.startCrowdsec).mockResolvedValue({ status: 'started', pid: 123, lapi_ready: true })
await renderSecurityPage()