Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
test: await model abuse guard failure status
[._.]/ Adam Eivy5d987a722230
diff --git a/client/src/components/models/ModelAbuseGuardPanel.test.jsx b/client/src/components/models/ModelAbuseGuardPanel.test.jsxindex 033f332e06..7c204fc588 100644--- a/client/src/components/models/ModelAbuseGuardPanel.test.jsx+++ b/client/src/components/models/ModelAbuseGuardPanel.test.jsx@@ -106,8 +106,9 @@ describe('ModelAbuseGuardPanel', () => {it('keeps a failed installation actionable after refresh and remount', async () => {getModelAbuseGuardStatus.mockResolvedValue({ ready: false, pythonAvailable: true, venvReady: true, setupState: 'incomplete', stages: STAGES, lastInstallFailure: { stage: 'packages', code: 'network-failed', exitCode: 1, message: 'Package server unreachable.', action: 'Check the Python package index connection.' } });await renderPanel();- expect(screen.getByRole('alert')).toHaveTextContent('packages: network-failed (exit 1)');- expect(screen.getByRole('alert')).toHaveTextContent('Check the Python package index connection.');+ const failureAlert = await screen.findByRole('alert');+ expect(failureAlert).toHaveTextContent('packages: network-failed (exit 1)');+ expect(failureAlert).toHaveTextContent('Check the Python package index connection.');fireEvent.click(screen.getByRole('button', { name: 'Refresh status' }));await waitFor(() => expect(getModelAbuseGuardStatus).toHaveBeenCalledTimes(2));expect(screen.getByRole('alert')).toHaveTextContent('Package server unreachable.');