pokerogue/test/testUtils
Bertie690 2fe50cb761
[Test] Made game.move.select fail if move not in moveset (#5998)
* Made `game.phaseInterceptor` fail if move not in moveset

also added a few assorted doc fixes

* Fixed fail comment

* added `map` statement

* Fixed tests

* Fixed test

* Fixed test and comment

* Fixed tests

* Fixed test v2

* Fixed various tests

* Update error msg to not use fullcaps

* Fixed remaining tests

* Fixed test 0.5

* Fixed up tetss

* Fixed test

* Fixed imposter tests

* Fixed imposter tests

* Fiexd remainig tests

* Marked test as TODO

wasn't as if it was doing anything beforehand but w/e

* Update moveHelper.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Update moveHelper.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Apply Biome

* Update comment in `spikes.test.ts`

* Add faint checks to Spikes test

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-07-02 12:46:26 -07:00
..
helpers [Test] Made game.move.select fail if move not in moveset (#5998) 2025-07-02 12:46:26 -07:00
mocks [Refactor] Refactor evo phase (#5735) 2025-06-22 18:11:38 -07:00
saves [UI/UX] Caught battle forms are displayed correctly in Pokédex (#5697) 2025-05-01 02:17:21 +00:00
errorInterceptor.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
fakeMobile.html [Test] Move test folder out of src (#5398) 2025-02-22 22:52:07 -06:00
gameManager.ts [Test] Made game.move.select fail if move not in moveset (#5998) 2025-07-02 12:46:26 -07:00
gameManagerUtils.ts [Test] Made game.move.select fail if move not in moveset (#5998) 2025-07-02 12:46:26 -07:00
gameWrapper.ts [Refactor] Refactor evo phase (#5735) 2025-06-22 18:11:38 -07:00
inputsHandler.ts [Dev] Update Biome to 2.0.0 (#6004) 2025-06-20 23:24:11 -07:00
listenersManager.ts [Test] [Refactor] [GitHub] Enable no isolate for vitest (#5566) 2025-03-28 17:30:38 -04:00
phaseInterceptor.ts [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
testFileInitialization.ts [Dev] Update Biome to 2.0.0 (#6004) 2025-06-20 23:24:11 -07:00
testUtils.ts [Test] Move test folder out of src (#5398) 2025-02-22 22:52:07 -06:00
TextInterceptor.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00