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

name the stale-chunk test for what it asserts: not the SPA index, rather than not HTML

[._.]/ Adam Eivyfe044489e28c
diff --git a/server/services/assetMounts.test.js b/server/services/assetMounts.test.js
index d3b3dbfe57..695c72c79e 100644
--- a/server/services/assetMounts.test.js
+++ b/server/services/assetMounts.test.js
@@ -218,7 +218,7 @@ describe('the built client mount', () => {
expect(res.headers['cache-control']).toBeUndefined();
});
- it('404s a chunk the current build no longer ships rather than answering with HTML', async () => {
+ it('404s a chunk the current build no longer ships instead of answering with the SPA index', async () => {
const res = await request(clientApp).get('/assets/index-STALEHASH.js');
expect(res.status).toBe(404);
expect(res.text).not.toContain('PortOS');