Skip to content

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

test: verify terminal diagnostics remain alongside JSON (#8699)

[._.]/ Adam Eivyc092484cd11e
diff --git a/scripts/run-ci-tests.test.js b/scripts/run-ci-tests.test.js
index c0ed12ef37..e266267ad1 100644
--- a/scripts/run-ci-tests.test.js
+++ b/scripts/run-ci-tests.test.js
@@ -268,6 +268,9 @@ describe('structured failure diagnostics', () => {
], { encoding: 'utf8', timeout: 30_000, env: { ...process.env, NODE_ENV: 'test' } });
expect(result.error).toBeUndefined();
expect(result.status).toBe(1);
+ expect(result.stdout).toContain('Test Files');
+ expect(result.stdout).toContain('Tests');
+ expect(result.stderr).toContain('Failed Tests');
// Inspect only the structured fallback, independent of terminal summaries.
const diagnostic = result.stderr.slice(result.stderr.indexOf('Structured Vitest'));
expect(diagnostic).toContain('fixture.test.js > synthetic assertion diagnostic');