chore(routes): close Shanghai mission and unify code channel
This commit is contained in:
parent
5e2ba5b006
commit
2bf4b63cff
24 changed files with 246 additions and 129 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue