Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions tests/mis.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,26 @@
test("Empty chest has no redstone signal", () => {
expect(calculateSignalStrength([])).toBe(0);
});

// Bad test on purpose DO NOT MERGE
test("Chest with one 64-stack item has no redstone signal [DO NOT MERGE]", () => {
expect(
calculateSignalStrength([
{
id: "",
name: "",
sprite: "",
color: {
rgb: [0, 0, 0],
hsl: [0, 0, 0],
hex: "",
},
category: [],
group: [],
material: "",
stack_size: 64,
rarity: "",
},
])
).toBe(0);

Check failure on line 28 in tests/mis.test.ts

View workflow job for this annotation

GitHub Actions / unit-test

tests/mis.test.ts > Chest with one 64-stack item has no redstone signal [DO NOT MERGE]

AssertionError: expected 1 to be +0 // Object.is equality - Expected + Received - 0 + 1 ❯ tests/mis.test.ts:28:5
});
Loading