profileShare

rasmusjy / profileshare

Read-only snapshot

No repository description.

main default branch 54 files Expires Sep 13, 2026, 9:06 AM
repo-selection.test.js 576 bytes
1 import { afterEach, describe, expect, it } from "vitest";
2 import { authenticate, makeHarness } from "./helpers.js";
3
4 describe("repo selection", () => {
5 let harness;
6 afterEach(() => harness.close());
7
8 it("shows every repository made available by the selected GitHub App installation", async () => {
9 harness = makeHarness();
10 await authenticate(harness);
11 const page = await harness.agent.get("/").expect(200);
12 expect(page.text).toContain("atlas");
13 expect(page.text).toContain("ledger");
14 expect(page.text).toContain('name="repositories"');
15 });
16 });
17