chore: complete HTML editing verification
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user