chore: complete HTML editing verification
Quality / quality (ubuntu-latest) (push) Failing after 10m13s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-18 22:49:07 +05:30
parent 7ad336b4dd
commit fdd0c9f847
4 changed files with 6 additions and 10 deletions
@@ -5,14 +5,13 @@ import { join } from "node:path";
import { positionAt } from "../src/index.ts";
// End-to-end verification (Task 8): drives the real language server, over
// real LSP stdio framing, against the real scratch page checked in at
// examples/basic-app/app/pages/html-editing-check.wrn. The page's text is
// read from disk rather than duplicated here, so this test breaks if the
// page and the test drift apart.
// real LSP stdio framing, against a realistic WRN page fixture. The page's
// text is read from disk rather than duplicated here, so the fixture remains
// reusable and independently inspectable.
const pagePath = join(
fileURLToPath(new URL("../../../", import.meta.url)),
"examples/basic-app/app/pages/html-editing-check.wrn",
fileURLToPath(new URL(".", import.meta.url)),
"fixtures/html-editing-check.wrn",
);
const pageText = readFileSync(pagePath, "utf8");