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.

Finish formatting long disclosure assertions

pulse-triage[bot]b06f1584aa8d
diff --git a/frontend-modern/src/features/docs/__tests__/issueFollowThroughGuide.test.ts b/frontend-modern/src/features/docs/__tests__/issueFollowThroughGuide.test.ts
index b3a5f72087..7d5422a71c 100644
--- a/frontend-modern/src/features/docs/__tests__/issueFollowThroughGuide.test.ts
+++ b/frontend-modern/src/features/docs/__tests__/issueFollowThroughGuide.test.ts
@@ -26,7 +26,8 @@ function followThrough(): HTMLElement {
return section;
}
-const prose = (element: HTMLElement): string => (element.textContent ?? '').replace(/\s+/g, ' ').trim();
+const prose = (element: HTMLElement): string =>
+ (element.textContent ?? '').replace(/\s+/g, ' ').trim();
describe('public issue follow-through guidance', () => {
it('keeps resolution, stable-release retest and timeout distinct in rendered paragraphs', () => {
@@ -35,8 +36,12 @@ describe('public issue follow-through guidance', () => {
expect(prose(paragraphs[0])).toContain('no reported symptom left unresolved');
expect(prose(paragraphs[1])).toContain('start with that stable-release retest reply');
expect(prose(paragraphs[1])).toContain('carrying the same fix');
- expect(prose(paragraphs[1])).toContain('limit on repeated unanswered contact prevents another reply');
- expect(prose(paragraphs[1])).toContain("later of that request and the stable release's publication");
+ expect(prose(paragraphs[1])).toContain(
+ 'limit on repeated unanswered contact prevents another reply',
+ );
+ expect(prose(paragraphs[1])).toContain(
+ "later of that request and the stable release's publication",
+ );
expect(prose(paragraphs[1])).toContain(
'A beta or release candidate alone never starts the timeout, nor does a fix commit',
);
@@ -77,7 +82,9 @@ describe('public issue follow-through guidance', () => {
it('keeps the disclosure and its linked release guide on the weekly, no-early-cut policy', () => {
const article = renderGuide('AI_TRANSPARENCY', source);
const text = prose(article);
- expect(text).toContain('Stable publication is targeted seven days after the last stable release');
+ expect(text).toContain(
+ 'Stable publication is targeted seven days after the last stable release',
+ );
expect(text).toContain('one day earlier, reserving its full 24-hour soak');
expect(text).toContain(
'An important fix ships in the next beta, not through an early candidate or stable release',
@@ -85,11 +92,13 @@ describe('public issue follow-through guidance', () => {
expect(text).toContain('unless a release-blocker requires a fresh candidate');
expect(text).not.toContain('Every 14 days');
expect(text).not.toContain('An early cut can bring');
- expect(article.querySelector('a[href="/docs/RELEASE_PROCESS"]')?.hasAttribute('data-doc-link')).toBe(
- true,
- );
+ expect(
+ article.querySelector('a[href="/docs/RELEASE_PROCESS"]')?.hasAttribute('data-doc-link'),
+ ).toBe(true);
const releaseSource = readFileSync(path.join(shippedDocs, 'RELEASE_PROCESS.md'), 'utf8');
- expect(releaseSource).toBe(readFileSync(path.join(repoRoot, 'docs/RELEASE_PROCESS.md'), 'utf8'));
+ expect(releaseSource).toBe(
+ readFileSync(path.join(repoRoot, 'docs/RELEASE_PROCESS.md'), 'utf8'),
+ );
const release = renderGuide('RELEASE_PROCESS', releaseSource);
expect(prose(release)).toContain('Nothing brings that cut forward');
expect(prose(release)).toContain('an important fix ships in the next daily beta');