telegram-mcp/cli/tests/unit/with-auth-daemon.test.ts
2026-11-05 14:26:28 +03:00

10 lines
410 B
TypeScript

import { describe, it, expect } from 'vitest';
import { DaemonPaths } from '../../src/lib/daemon/pid.js';
describe('withAuth daemon detection', () => {
it('DaemonPaths correctly resolves socket path for profile', () => {
const paths = new DaemonPaths('/tmp/test-config', 'myprofile');
expect(paths.socketPath).toContain('myprofile.sock');
expect(paths.socketPath).toContain('daemon');
});
});