Remove silly tests that need constant changing
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ Deno.test("packing a mod keeps its data, scripts, textures and credits, and give
|
||||
assert(bmod.credits);
|
||||
|
||||
const bworld = read_bmod(Deno.readFileSync(`${folder}/bworld.bmod`), "bworld.bmod");
|
||||
assertEquals(bworld.data.blocks.length, 42);
|
||||
assertEquals(bworld.data.blocks.length, [...Deno.readDirSync("mods/bworld/blocks")].length);
|
||||
assertEquals(Object.keys(bworld.scripts), ["server", "client"]);
|
||||
|
||||
Deno.removeSync(sources, { recursive: true });
|
||||
|
||||
Reference in New Issue
Block a user