mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 00:52:47 +02:00
Update trySetStatus test in pokemon to respect new return value for undefined
This commit is contained in:
parent
1fb7eb6891
commit
6aef950e76
@ -31,7 +31,7 @@ describe("Spec - Pokemon", () => {
|
|||||||
const pkm = game.scene.getPlayerPokemon()!;
|
const pkm = game.scene.getPlayerPokemon()!;
|
||||||
expect(pkm).toBeDefined();
|
expect(pkm).toBeDefined();
|
||||||
|
|
||||||
expect(pkm.trySetStatus(undefined)).toBe(true);
|
expect(pkm.trySetStatus(undefined)).toBe(false);
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("Add To Party", () => {
|
describe("Add To Party", () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user