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([unknown-instance-id-sentinel-extract]): drop manifest.test.js instances.js workaround mock

[._.]/ Adam Eivy05a32ef8bc53
diff --git a/server/services/sharing/manifest.test.js b/server/services/sharing/manifest.test.js
index b6e5475503..2bc3b44d85 100644
--- a/server/services/sharing/manifest.test.js
+++ b/server/services/sharing/manifest.test.js
@@ -12,12 +12,6 @@ vi.mock('../../lib/fileUtils.js', async () => {
return makePathsProxy(actual, { dataRoot: () => tempRoot });
});
-// instances.js loads peerSelfHost.js at module top-level, which reads
-// PATHS.data via certPaths() — but `tempRoot` is allocated in beforeEach, not
-// at hoisted module load. Stub instances.js so the only export manifest.js
-// needs (UNKNOWN_INSTANCE_ID) is available without the side-effect chain.
-vi.mock('../instances.js', () => ({ UNKNOWN_INSTANCE_ID: 'unknown' }));
-
const manifest = await import('./manifest.js');
describe('sharing/manifest', () => {