chore(routes): close Shanghai mission and unify code channel

This commit is contained in:
冰朔 2026-08-03 23:51:32 +08:00
commit 2bf4b63cff
24 changed files with 246 additions and 129 deletions

View file

@ -6,9 +6,9 @@ const {
resolveSubjectId, search, searchAll,
} = require("./server");
test("repository map exposes only the two current code-channel repositories", () => {
test("repository map exposes only the three current code-channel repositories", () => {
const map = loadMap();
const expectedCodes = ["REPO-012", "REPO-014"];
const expectedCodes = ["REPO-012", "REPO-014", "REPO-015"];
assert.deepEqual(map.repositories.map(item => item.code), expectedCodes);
assert.equal(new Set(map.repositories.map(item => item.code)).size, expectedCodes.length);
for (const item of map.repositories) {