Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pi-extension/test/helpers.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ test("filterSkillBodyForMode keeps rule bullets that contain a colon", () => {
// Regression: rule bullets outside the Intensity section (e.g. the
// "No unrequested abstractions:" rule or the `ponytail:` comment convention)
// contain a colon and must not be mistaken for mode-example lines.
const skillPath = join(import.meta.dirname, "..", "..", "skills", "ponytail", "SKILL.md");
const skillPath = new URL("../../skills/ponytail/SKILL.md", import.meta.url);
const body = readFileSync(skillPath, "utf8");

const filtered = filterSkillBodyForMode(body, "full");
Expand Down