Remove silly tests that need constant changing
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user