Remove a test whose trigger conditions can no longer happen

This commit is contained in:
Sirz Benjie 2025-05-20 21:12:55 -05:00
parent 30b110412f
commit 9d6cde1abc
No known key found for this signature in database
GPG Key ID: 38AC42D68CF5E138

View File

@ -21,22 +21,6 @@ describe("Abilities - Forecast", () => {
const RAINY_FORM = 2; const RAINY_FORM = 2;
const SNOWY_FORM = 3; const SNOWY_FORM = 3;
/**
* Tests form changes based on weather changes
* @param game - The game manager instance
* @param weather - The active weather to set
* @param form - The expected form based on the active weather
* @param initialForm - The initial form pre form change
*/
const testWeatherFormChange = async (game: GameManager, weather: WeatherType, form: number, initialForm?: number) => {
game.override.weather(weather).starterForms({ [SpeciesId.CASTFORM]: initialForm });
await game.classicMode.startBattle([SpeciesId.CASTFORM]);
game.move.select(MoveId.SPLASH);
expect(game.scene.getPlayerPokemon()?.formIndex).toBe(form);
};
/** /**
* Tests reverting to normal form when Cloud Nine/Air Lock is active on the field * Tests reverting to normal form when Cloud Nine/Air Lock is active on the field
* @param game - The game manager instance * @param game - The game manager instance
@ -191,10 +175,6 @@ describe("Abilities - Forecast", () => {
30 * 1000, 30 * 1000,
); );
it("reverts to Normal Form during Clear weather", async () => {
await testWeatherFormChange(game, WeatherType.NONE, NORMAL_FORM, SUNNY_FORM);
});
it("reverts to Normal Form if a Pokémon on the field has Air Lock", async () => { it("reverts to Normal Form if a Pokémon on the field has Air Lock", async () => {
await testRevertFormAgainstAbility(game, AbilityId.AIR_LOCK); await testRevertFormAgainstAbility(game, AbilityId.AIR_LOCK);
}); });