diff --git a/pi-extension/test/helpers.test.js b/pi-extension/test/helpers.test.js index bbcdfd2..aca16bf 100644 --- a/pi-extension/test/helpers.test.js +++ b/pi-extension/test/helpers.test.js @@ -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");