Update field-helper.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Bertie690 2025-06-07 20:49:24 -04:00 committed by GitHub
parent 263319cd50
commit 31d33d2f13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,7 +84,6 @@ export class FieldHelper extends GameManagerHelper {
*/
public forceTera(pokemon: Pokemon, teraType: PokemonType = pokemon.getSpeciesForm(true).type1): void {
vi.spyOn(pokemon, "isTerastallized", "get").mockReturnValue(true);
teraType ??= pokemon.getSpeciesForm(true).type1;
vi.spyOn(pokemon, "teraType", "get").mockReturnValue(teraType);
}
}