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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: make mood board test path assertion portable
[._.]/ Adam Eivy12b20900ddb3
diff --git a/server/services/moodBoard/xPost.test.js b/server/services/moodBoard/xPost.test.jsindex 4769b5a550..75a424086e 100644--- a/server/services/moodBoard/xPost.test.js+++ b/server/services/moodBoard/xPost.test.js@@ -157,7 +157,8 @@ describe('importXPost', () => {await expect(importXPost('mb-1', { url: POST_URL })).rejects.toMatchObject({ status: 502, code: 'X_POST_DOWNLOAD_FAILED' });expect(unlink).toHaveBeenCalledTimes(1);- expect(unlink.mock.calls[0][0]).toMatch(/^\/tmp\/imgs\/x-[0-9a-f]{16}\.jpg$/);+ const deletedPosterPath = unlink.mock.calls[0][0].replaceAll('\\', '/');+ expect(deletedPosterPath).toMatch(/^\/tmp\/imgs\/x-[0-9a-f]{16}\.jpg$/);expect(store.appendImportedItems).not.toHaveBeenCalled();});});