pokerogue/src/test
Moka c2d24d6e93
[Bug] Take weight into account when getting the tier of a modifier (#4775)
* disable timed events in tests

* Take weight into account when getting the tier of modifiers

* Apply suggestions from code review

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

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com>
2024-11-02 11:55:22 -04:00
..
abilities [P2] Fix for Speed Boost is Activated on the Turn a Pokemon is Switched In, and When a Pokemon Fails to Escape #4353 (#4676) 2024-10-29 17:38:33 -04:00
achievements add new lint rules....again 2024-10-04 13:08:31 +08:00
arena [P2] Fix various charge move bugs (#4595) 2024-10-23 11:08:40 -04:00
battle add new lint rules....again 2024-10-04 13:08:31 +08:00
battlerTags add new lint rules....again 2024-10-04 13:08:31 +08:00
data [Test] Add STATUS_ACTIVATION_OVERRIDE to overrides.ts (#4689) 2024-10-22 23:11:02 -04:00
eggs [Hotfix] Fix Eternatus egg tier (#4734) 2024-10-27 04:04:57 +00:00
field add new lint rules....again 2024-10-04 13:08:31 +08:00
inputs [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
items [P2] Fix Early Bird (#4632) 2024-10-22 12:37:13 -04:00
moves [P2] Chloroblast & Struggle should not recoil if the move failed (#4719) 2024-10-29 17:31:37 -04:00
mystery-encounter [Balance][ME] Various ME Balance changes (#4700) 2024-10-23 21:46:57 +02:00
phases [Bug] Fix enemy faint causing Frenzy moves to mishandle paralysis (#4680) 2024-10-29 08:36:24 -07:00
settingMenu add new lint rules....again 2024-10-04 13:08:31 +08:00
sprites add new lint rules....again 2024-10-04 13:08:31 +08:00
system [Qol] Load i18n en locales during tests (#4553) 2024-10-09 13:01:49 -07:00
ui [Qol] Load i18n en locales during tests (#4553) 2024-10-09 13:01:49 -07:00
utils [Bug] Take weight into account when getting the tier of a modifier (#4775) 2024-11-02 11:55:22 -04:00
account.test.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
battle-scene.test.ts [Bug] Fix eggs having exploitable RNG (#3913) 2024-09-02 22:18:18 -04:00
boss-pokemon.test.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
daily_mode.test.ts [Test] Fix some test flakiness involving doKillOpponents() (#4571) 2024-10-04 10:42:20 -04:00
endless_boss.test.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
enemy_command.test.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
escape-calculations.test.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
evolution.test.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
final_boss.test.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
fontFace.setup.ts tests: add mock for FontFace and it to vitest setup (#1591) 2024-05-30 04:44:36 +01:00
game-mode.test.ts [Daily] Daily standardization (#3776) 2024-09-26 01:39:59 -07:00
imports.test.ts [Test] Replace doAttack() with move.select() in tests (#3567) 2024-08-22 06:49:33 -07:00
internals.test.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
misc.test.ts add new lint rules....again 2024-10-04 13:08:31 +08:00
pre.test.ts Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00
reload.test.ts [Test] Fix some test flakiness involving doKillOpponents() (#4571) 2024-10-04 10:42:20 -04:00
vitest.setup.ts [Qol] Load i18n en locales during tests (#4553) 2024-10-09 13:01:49 -07:00