Skip to content

Commit 37f46c0

Browse files
critesjoshclaude
andcommitted
fix: update tests to reflect removal of aztec-otc-desk and aztec-pay repos
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f5d5a23 commit 37f46c0

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

tests/repos/config.test.ts

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import {
88
} from "../../src/repos/config.js";
99

1010
describe("AZTEC_REPOS", () => {
11-
it("contains 7 repos, each with name/url/description", () => {
12-
expect(AZTEC_REPOS).toHaveLength(7);
11+
it("contains 5 repos, each with name/url/description", () => {
12+
expect(AZTEC_REPOS).toHaveLength(5);
1313
for (const repo of AZTEC_REPOS) {
1414
expect(repo.name).toBeTruthy();
1515
expect(repo.url).toBeTruthy();
@@ -64,17 +64,13 @@ describe("getAztecRepos", () => {
6464
}
6565
});
6666

67-
it("does not apply tags to noir-lang or aztec-pioneers repos", () => {
67+
it("does not apply tags to noir-lang repos", () => {
6868
const repos = getAztecRepos("v2.0.0");
6969
const noirRepos = repos.filter((r) => r.url.includes("noir-lang"));
70-
const pioneerRepos = repos.filter((r) =>
71-
r.url.includes("aztec-pioneers")
72-
);
7370

7471
expect(noirRepos).toHaveLength(2);
75-
expect(pioneerRepos).toHaveLength(2);
7672

77-
for (const repo of [...noirRepos, ...pioneerRepos]) {
73+
for (const repo of noirRepos) {
7874
expect(repo.tag).toBeUndefined();
7975
}
8076
});
@@ -94,15 +90,13 @@ describe("getRepoConfig", () => {
9490
});
9591

9692
describe("getRepoNames", () => {
97-
it("returns all 7 names", () => {
93+
it("returns all 5 names", () => {
9894
const names = getRepoNames();
99-
expect(names).toHaveLength(7);
95+
expect(names).toHaveLength(5);
10096
expect(names).toContain("aztec-packages");
10197
expect(names).toContain("noir");
10298
expect(names).toContain("noir-examples");
10399
expect(names).toContain("aztec-examples");
104100
expect(names).toContain("aztec-starter");
105-
expect(names).toContain("aztec-otc-desk");
106-
expect(names).toContain("aztec-pay");
107101
});
108102
});

0 commit comments

Comments
 (0)