Files
pi/packages/coding-agent/test/slash-commands.test.ts
Vegard Stikbakke 71918c6575 feat(coding-agent): add pi.dev integration
Add pi.dev account integration, profile setup, shared session support, activity sync, and slash command support using shared pi.dev OAuth/client utilities.
2026-06-09 09:26:10 +02:00

13 lines
464 B
TypeScript

import { describe, expect, it } from "vitest";
import { BUILTIN_SLASH_COMMANDS } from "../src/core/slash-commands.ts";
describe("slash commands", () => {
it("exposes pi.dev as a slash command", () => {
expect(BUILTIN_SLASH_COMMANDS.map((command) => command.name)).toContain("pi.dev");
});
it("does not expose activity sync as a slash command", () => {
expect(BUILTIN_SLASH_COMMANDS.map((command) => command.name)).not.toContain("activity-sync");
});
});