fix: address feature-map review findings

Normalize document line endings and specify the prerequisites for run-page workspace recovery controls.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-10-05 18:01:17 -05:00
1 parent 5fd292dd77
commit 4892e5c5b2
3 files changed
+21 -7

No files matched your search

@@ -64,6 +64,14 @@ test("accepts a documented partial area and excludes tests and stories from page
assert.deepEqual(f.check(), []);
});
test("accepts CRLF line endings in the index and recipes", (t) => {
const f = fixture(t);
for (const path of ["feature-map/README.md", "feature-map/example.md"]) {
f.write(path, readFileSync(join(f.root, path), "utf8").replace(/\n/g, "\r\n"));
}
assert.deepEqual(f.check(), []);
});
test("new nested pages cannot hide under a previously covered directory", (t) => {
const f = fixture(t);
f.write("ui/src/pages/apps/new/NewPanel.tsx", "");