Remove silly tests that need constant changing

This commit is contained in:
2026-10-01 17:01:46 -03:00
parent 1fc92a7b00
commit ea9f3f61bb
6 changed files with 44 additions and 41 deletions
+2 -7
View File
@@ -29,13 +29,8 @@ Deno.test("welcome lists what to download, and nothing happens until ready", asy
send(2, { type: "hello", name: "bob", protocol: PROTOCOL_VERSION });
const [welcome] = take(2);
assertEquals(welcome.type, "welcome");
assertEquals(welcome.mods.map((m: { id: string }) => m.id), [
"bworld",
"artifacts",
"farmersdelight",
"recipe_viewer",
"undergarden",
]);
// in load order, so the base game every mod depends on comes first
assertEquals(welcome.mods[0].id, "bworld");
assert(welcome.mods.every((m: { sha256: string; file: string }) => m.sha256 && m.file));
assert(!("players" in welcome) && !("changes" in welcome), "welcome shouldn't have world state");