test(launcher): expect waggle.db and the memory store instead of personal.mind (P1.5)

This commit is contained in:
shumeiko.it
2026-10-24 17:47:22 +02:00
parent 77ddfd5b27
commit 3fee3d6935

View File

@@ -636,7 +636,9 @@ describe('Waggle CLI Launcher', () => {
expect(stdout).toContain('Browser: not opened (--no-open)');
expect(stdout).toContain(`Open manually: http://localhost:${ready.port}`);
expect(stderr).not.toContain('Failed to start Waggle');
expect(fs.existsSync(path.join(dataDir, 'personal.mind'))).toBe(true);
expect(fs.existsSync(path.join(dataDir, 'waggle.db'))).toBe(true);
expect(fs.existsSync(path.join(dataDir, 'memory'))).toBe(true);
expect(fs.existsSync(path.join(dataDir, 'personal.mind'))).toBe(false);
expect(bearerRequestCount()).toBe(0);
expect(requestCount()).toBe(0);