mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-21 16:27:18 +02:00
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:
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", "");
|
||||
|
||||
Reference in new issue
Block a user