mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
71918c6575
Add pi.dev account integration, profile setup, shared session support, activity sync, and slash command support using shared pi.dev OAuth/client utilities.
13 lines
464 B
TypeScript
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");
|
|
});
|
|
});
|