Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
style(web): format app architecture and layout tests
pulse-triage[bot]cbf995df5e80
diff --git a/frontend-modern/src/__tests__/App.architecture.test.ts b/frontend-modern/src/__tests__/App.architecture.test.tsindex 11c8cf9ab6..1c7578ad04 100644--- a/frontend-modern/src/__tests__/App.architecture.test.ts+++ b/frontend-modern/src/__tests__/App.architecture.test.ts@@ -576,10 +576,18 @@ describe('App architecture', () => {expect(appLayoutSource).toContain('selectedOrgId={props.activeOrgID()}');expect(appLayoutSource).toContain('onChange={props.onSwitchOrg}');expect(appLayoutSource).not.toContain('/api/license/activate');- const audit = readFileSync(join(integrationTestsDir, '05-settings-mobile-audit.spec.ts'), 'utf8');- const preparation = audit.slice(audit.indexOf('const prepareOrganizationAuditFixture'), audit.indexOf('const test = base.extend'));+ const audit = readFileSync(+ join(integrationTestsDir, '05-settings-mobile-audit.spec.ts'),+ 'utf8',+ );+ const preparation = audit.slice(+ audit.indexOf('const prepareOrganizationAuditFixture'),+ audit.indexOf('const test = base.extend'),+ );const activation = preparation.indexOf('await activateOfflineOrganization(page)');- expect(activation).toBeGreaterThan(preparation.indexOf('await ensureSessionAuthenticated(page)'));+ expect(activation).toBeGreaterThan(+ preparation.indexOf('await ensureSessionAuthenticated(page)'),+ );expect(activation).toBeLessThan(preparation.indexOf('await createOrg(page'));expect(activation).toBeGreaterThan(0);expect(preparation).toContain('process.env.PULSE_E2E_OFFLINE_ACTIVATION_KEY');diff --git a/frontend-modern/src/__tests__/AppLayout.test.tsx b/frontend-modern/src/__tests__/AppLayout.test.tsxindex 0073a4ab33..67110a4f00 100644--- a/frontend-modern/src/__tests__/AppLayout.test.tsx+++ b/frontend-modern/src/__tests__/AppLayout.test.tsx@@ -514,7 +514,11 @@ describe('AppLayout navigation icons', () => {setViewportWidth(320);const { container } = renderLayout();expect(container.querySelector('.header')).toHaveClass('flex-wrap', 'sm:flex-nowrap');- expect(container.querySelector('.header-controls')).toHaveClass('max-w-full', 'flex-wrap', 'sm:flex-nowrap');+ expect(container.querySelector('.header-controls')).toHaveClass(+ 'max-w-full',+ 'flex-wrap',+ 'sm:flex-nowrap',+ );expect(screen.getByRole('button', { name: 'Logout' })).toBeInTheDocument();});