summaryrefslogtreecommitdiff
path: root/cgithub/src/scraper.test.ts
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-02-21 16:21:35 +1100
committerJoe Mou <dev@mou.fo>2026-02-21 16:21:57 +1100
commit1435dea09882f110448b034d7cffa32d03e19a8f (patch)
tree331ed53d8870c68537e78be2012bdf67f47e53f1 /cgithub/src/scraper.test.ts
parent34eea157db19c276fa4a5578707d0f8af2eeffd3 (diff)
Parse release page HTML
Fixes reading complex release descriptions that had unbalanced tags. Written with Gemini.
Diffstat (limited to 'cgithub/src/scraper.test.ts')
-rw-r--r--cgithub/src/scraper.test.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgithub/src/scraper.test.ts b/cgithub/src/scraper.test.ts
index 8c11317..33f00f1 100644
--- a/cgithub/src/scraper.test.ts
+++ b/cgithub/src/scraper.test.ts
@@ -172,6 +172,7 @@ describe("GitHub scraper", () => {
assert.ok(firstRelease.tagName.length > 0);
assert.ok(firstRelease.title.match(/^v\d/));
assert.ok(firstRelease.publishedAt.length > 0);
+ assert.ok(firstRelease.bodyHtml.length > 0);
});
});