"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const node_test_1 = require("node:test");
const strict_1 = __importDefault(require("node:assert/strict"));
const help_1 = require("../commands/help");
(0, node_test_1.describe)('windowsCursorAgentLine', () => {
    (0, node_test_1.it)('returns empty string when not Windows', () => {
        const out = (0, help_1.windowsCursorAgentLine)({ isWindows: false, agentExists: false });
        strict_1.default.equal(out, '');
    });
    (0, node_test_1.it)('returns empty string when isWindows is false even if agent exists', () => {
        const out = (0, help_1.windowsCursorAgentLine)({ isWindows: false, agentExists: true });
        strict_1.default.equal(out, '');
    });
    (0, node_test_1.it)('returns line with checkmark when Windows and agent exists', () => {
        const out = (0, help_1.windowsCursorAgentLine)({ isWindows: true, agentExists: true });
        strict_1.default.ok(out.includes('CURSOR (WINDOWS)'));
        strict_1.default.ok(out.includes('✓'));
        strict_1.default.ok(out.includes('agent'));
        strict_1.default.ok(out.includes('available'));
    });
    (0, node_test_1.it)('returns line with install hint when Windows and agent missing', () => {
        const out = (0, help_1.windowsCursorAgentLine)({ isWindows: true, agentExists: false });
        strict_1.default.ok(out.includes('CURSOR (WINDOWS)'));
        strict_1.default.ok(out.includes('!'));
        strict_1.default.ok(out.includes('Install'));
        strict_1.default.ok(out.includes('cursor.com/install?win32=true'));
        strict_1.default.ok(out.includes('iex'));
    });
});
//# sourceMappingURL=help.test.js.map