17 lines · 532 B · TypeScript
RawDownload
import { describe, expect, it } from "vite-plus/test"; import { matchesSlashSkillQuery } from "./composerSlashSkillSearch"; const browserSkill = {  name: "browser",  path: "/skills/browser/SKILL.md",  enabled: true,  shortDescription: "Open and control the in-app browser",}; describe("matchesSlashSkillQuery", () => {  it("matches the rendered skill prefix", () => {    expect(matchesSlashSkillQuery(browserSkill, "skill")).toBe(true);    expect(matchesSlashSkillQuery(browserSkill, "skill:brow")).toBe(true);  });});

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t