Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Format the AI provider privacy guide checks

pulse-triage[bot]35685ea815c4
diff --git a/frontend-modern/src/features/docs/__tests__/aiProviderPrivacyGuide.test.ts b/frontend-modern/src/features/docs/__tests__/aiProviderPrivacyGuide.test.ts
index 3862d74809..42c6b078f6 100644
--- a/frontend-modern/src/features/docs/__tests__/aiProviderPrivacyGuide.test.ts
+++ b/frontend-modern/src/features/docs/__tests__/aiProviderPrivacyGuide.test.ts
@@ -20,7 +20,9 @@ describe('AI provider privacy guidance', () => {
expect(notice!.querySelector('a')?.getAttribute('href')).toBe('#privacy');
const patrol = rendered.querySelector('#pulse-patrol');
expect(patrol).not.toBeNull();
- expect(notice!.compareDocumentPosition(patrol!) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy();
+ expect(
+ notice!.compareDocumentPosition(patrol!) & Node.DOCUMENT_POSITION_FOLLOWING,
+ ).toBeTruthy();
});
it('keeps model traffic, policy handling and usage telemetry distinct in both guides', () => {
@@ -66,9 +68,13 @@ describe('AI provider privacy guidance', () => {
expect(rendered.querySelector('a[href="/docs/PRIVACY#ai-provider-data"]')).not.toBeNull();
expect(article('PRIVACY').querySelector('#ai-provider-data')).not.toBeNull();
expect(
- rendered.querySelector('a[href="/docs/CONFIGURATION#handle-configuration-and-history-privately"]'),
+ rendered.querySelector(
+ 'a[href="/docs/CONFIGURATION#handle-configuration-and-history-privately"]',
+ ),
+ ).not.toBeNull();
+ expect(
+ article('CONFIGURATION').querySelector('#handle-configuration-and-history-privately'),
).not.toBeNull();
- expect(article('CONFIGURATION').querySelector('#handle-configuration-and-history-privately')).not.toBeNull();
expect(copy).toContain('locally reviewed and redacted excerpt');
});