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
test: correct the ENOTDIR comment in the poisoned-queue backup state test (#3916)
[._.]/ Adam Eivyb754e0ccee10
diff --git a/server/services/backup.test.js b/server/services/backup.test.jsindex b2deb97310..6c52065693 100644--- a/server/services/backup.test.js+++ b/server/services/backup.test.js@@ -864,8 +864,8 @@ describe('getState and saveState', () => {it('keeps a rejected write from poisoning the queue for later callers', async () => {const { writeFile } = await import('fs/promises');const { join } = await import('path');- // A pre-existing FILE where the backup dir must go makes ensureDir throw,- // so the first saveState rejects mid-queue.+ // A pre-existing FILE where the backup dir must go makes the write throw+ // ENOTDIR, so the first saveState rejects mid-queue.await writeFile(join(tmpRoot, 'backup'), 'not a directory');await expect(backup.saveState({ status: 'running' })).rejects.toThrow();