This commit is contained in:
frutescens 2024-11-01 10:34:32 -07:00
parent a11f30d999
commit 142eb27fb2

View File

@ -3,6 +3,7 @@ import { Moves } from "#enums/moves";
import { Species } from "#enums/species"; import { Species } from "#enums/species";
import { TerrainType } from "#app/data/terrain"; import { TerrainType } from "#app/data/terrain";
import { Type } from "#app/data/type"; import { Type } from "#app/data/type";
import { BattlerIndex } from "#app/battle";
import GameManager from "#test/utils/gameManager"; import GameManager from "#test/utils/gameManager";
import Phaser from "phaser"; import Phaser from "phaser";
import { afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest"; import { afterEach, beforeAll, beforeEach, describe, expect, it } from "vitest";
@ -44,7 +45,5 @@ describe("Moves - Camouflage", () => {
expect(game.scene.arena.getTerrainType()).toBe(TerrainType.PSYCHIC); expect(game.scene.arena.getTerrainType()).toBe(TerrainType.PSYCHIC);
const pokemonType = playerPokemon.getTypes()[0]; const pokemonType = playerPokemon.getTypes()[0];
expect(pokemonType).toBe(Type.PSYCHIC); expect(pokemonType).toBe(Type.PSYCHIC);
const biomeType = game.scene.arena.getTypeForBiome();
expect(pokemonType).not.toBe(biomeType);
}); });
}); });