import { describe, it, expect } from "vitest";
import { readFileSync } from "fs";
import { resolve } from "path";
const TRIGGER_TOKEN = "Any activity involving time";
describe("time-resolve trigger surface parity", () => {
    it("PLUGIN.md contains the broadened trigger token", () => {
        const pluginMd = readFileSync(resolve(__dirname, "../../../PLUGIN.md"), "utf8");
        expect(pluginMd).toContain(TRIGGER_TOKEN);
    });
    it("eagerTool description in index.ts contains the broadened trigger token", () => {
        const indexTs = readFileSync(resolve(__dirname, "../index.ts"), "utf8");
        const timeResolveSection = indexTs.slice(indexTs.indexOf("// time-resolve"), indexTs.indexOf("// schedule-export-ics"));
        expect(timeResolveSection).toContain(TRIGGER_TOKEN);
    });
});
//# sourceMappingURL=time-resolve-description.test.js.map