mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-12-17 22:26:33 +00:00
Updated unburden test.
This commit is contained in:
parent
c7fcfd195d
commit
01788d40c2
@ -62,7 +62,7 @@ describe("Abilities - Unburden", () => {
|
|||||||
{ name: "BERRY", type: BerryType.LUM, count: 1 },
|
{ name: "BERRY", type: BerryType.LUM, count: 1 },
|
||||||
]);
|
]);
|
||||||
// For the various tests that use Thief, give it a 100% steal rate
|
// For the various tests that use Thief, give it a 100% steal rate
|
||||||
vi.spyOn(allMoves[Moves.THIEF], "attrs", "get").mockReturnValue([ new StealHeldItemChanceAttr(1.0) ]);
|
vi.spyOn(allMoves[Moves.THIEF], "attrs", "get").mockReturnValue([ new StealHeldItemChanceAttr(100) ]);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should activate when a berry is eaten", async () => {
|
it("should activate when a berry is eaten", async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user