test(server): drop the startup test for the removed multi-mind migration (P1.2)

This commit is contained in:
shumeiko.it
2026-10-24 17:18:49 +02:00
parent 0b3e4fc339
commit 316cb2ba36

View File

@@ -69,25 +69,6 @@ describe('Agent Service', () => {
expect(fs.existsSync(dataDir)).toBe(true);
});
it('runs migration when default.mind exists', async () => {
const dataDir = makeTmpDir();
tmpDirs.push(dataDir);
// Create a default.mind (simulating pre-M4 layout)
const defaultPath = path.join(dataDir, 'default.mind');
fs.writeFileSync(defaultPath, '');
expect(fs.existsSync(defaultPath)).toBe(true);
const port = randomPort();
const { server } = await startService({ dataDir, port, skipLiteLLM: true });
cleanups.push(async () => { await server.close(); });
// After migration: personal.mind exists, default.mind renamed to .bak
expect(fs.existsSync(path.join(dataDir, 'personal.mind'))).toBe(true);
expect(fs.existsSync(path.join(dataDir, 'default.mind.bak'))).toBe(true);
expect(fs.existsSync(defaultPath)).toBe(false);
});
it('creates waggle.db and the memory directory on a fresh install', async () => {
const dataDir = makeTmpDir();
tmpDirs.push(dataDir);