diff options
| author | Joe Mou <dev@mou.fo> | 2026-05-27 14:10:19 -0400 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2026-05-27 14:10:56 -0400 |
| commit | 12a072ded4d8528296bcf9fde6ae8324588da97e (patch) | |
| tree | 2aecac2dfba553c702468fa7a4665b77a6016aa0 /src/scraper.test.ts | |
| parent | 0d8911577ba3d49df3577d686837541a9aee69bd (diff) | |
Update unit tests
Diffstat (limited to 'src/scraper.test.ts')
| -rw-r--r-- | src/scraper.test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scraper.test.ts b/src/scraper.test.ts index c20a5ff..42ddd6e 100644 --- a/src/scraper.test.ts +++ b/src/scraper.test.ts @@ -249,10 +249,10 @@ describe("GitHub scraper", () => { it("should redirect when fetching a directory as a blob", async () => { await assert.rejects( - getGitHubBlob("badlogic", "pi-mono", "main", "packages/agent"), + getGitHubBlob("earendil-works", "pi", "main", "packages/agent"), (err) => { assert(err instanceof RedirectError, "error should be a RedirectError"); - assert.strictEqual(err.location, "/badlogic/pi-mono/tree/main/packages/agent"); + assert.strictEqual(err.location, "/earendil-works/pi/tree/main/packages/agent"); return true; }, ); @@ -260,12 +260,12 @@ describe("GitHub scraper", () => { it("should redirect when fetching a file as a tree", async () => { await assert.rejects( - getGitHubTree("badlogic", "pi-mono", "main", "packages/agent/package.json"), + getGitHubTree("earendil-works", "pi", "main", "packages/agent/package.json"), (err) => { assert(err instanceof RedirectError, "error should be a RedirectError"); assert.strictEqual( err.location, - "/badlogic/pi-mono/blob/main/packages/agent/package.json", + "/earendil-works/pi/blob/main/packages/agent/package.json", ); return true; }, |
