mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-21 16:27:18 +02:00
fix: distinguish external test links in the feature map
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
92fe9f40f3
commit
5fd292dd77
2 files changed
+3
-2
No files matched your search
@@ -81,7 +81,7 @@ test("deleted or renamed test references fail even inside runnable commands", (t
|
||||
|
||||
test("broken documentation links fail, external URLs and local anchors are accepted", (t) => {
|
||||
const f = fixture(t);
|
||||
f.write("feature-map/example.md", recipe + "\n[External](https://example.com) [Here](#gotchas) [Missing](../doc/missing.md#section)\n");
|
||||
f.write("feature-map/example.md", recipe + "\n[External](https://example.com/tests/external.test.ts) [Here](#gotchas) [Missing](../doc/missing.md#section)\n");
|
||||
assert.deepEqual(f.check(), ["example.md: broken local link ../doc/missing.md#section"]);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user