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
+4 -5
View File
@@ -29,11 +29,10 @@ Deno.test("the recipe viewer finds what makes and uses an item, in any recipe ty
const [rice] = making("farmersdelight:cooked_rice");
assertEquals(ids(inputs(rice)), ["farmersdelight:rice", "bworld:bowl"]);
// uses: the bowl serves two meals, coal is fuel and in the stove, potatoes are in cabbage rolls
assertEquals(using("bworld:bowl").map((r) => outputs(r)[0].ids[0]).sort(), [
"farmersdelight:cooked_rice",
"farmersdelight:tomato_sauce",
]);
// uses: the bowl serves meals, coal is fuel and in the stove, potatoes are in cabbage rolls
const served_in_bowls = using("bworld:bowl").map((r) => outputs(r)[0].ids[0]);
assert(served_in_bowls.includes("farmersdelight:cooked_rice"));
assert(served_in_bowls.includes("farmersdelight:tomato_sauce"));
assert(using("bworld:coal").some((r) => r.type === "fuel"));
assert(using("bworld:coal").some((r) => r.type === "shaped" && outputs(r)[0].ids[0] === "farmersdelight:stove"));
assert(using("bworld:potato").includes(rolls));