pokerogue/src/test
podar 34bf0069ca
[P1] Fixing continue menu option when game finishes (#4287)
* [Bug] Fixing continue error when game finishes

* migrate: `GameData.tryClearSession` to async/await

* install dev: msw module

* add: game-data test => tryClearSession tests

---------

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-09-26 13:55:08 -07:00
..
abilities [Move] Implement Shed Tail (#4382) 2024-09-25 17:17:46 -07:00
achievements [Refactor/Bug/Move] Overhaul Stats and Battle Items, Implement Several Stat Moves (#2699) 2024-09-02 22:12:34 -04:00
arena [Refactor][Tests] Set default test timeout to `20s` (#4338) 2024-09-20 23:05:45 +02:00
battle [Refactor][Tests] Set default test timeout to `20s` (#4338) 2024-09-20 23:05:45 +02:00
battlerTags [Dev][Test] Add "Mystery Encounter" type for `create-test` script + minor timeout fixes (#4350) 2024-09-20 17:54:37 -04:00
data [Feature] Seasonal splash messages logic + scaffolding (#4318) 2024-09-19 15:59:37 -07:00
eggs [Dev] Remove `variant-tiers.ts` Enum (#3746) 2024-09-18 15:20:33 -04:00
field [Bug] Fix #762: All Pokemon become invisible when capturing then switching with your only pokemon that was not fainted (#4025) 2024-09-09 01:10:47 -04:00
inputs [Test] Replace `doAttack()` with `move.select()` in tests (#3567) 2024-08-22 06:49:33 -07:00
items [Refactor][Tests] Set default test timeout to `20s` (#4338) 2024-09-20 23:05:45 +02:00
localization [Refactor][Localization] Better handling for `StatusEffect.NONE` with i18n (#4405) 2024-09-24 14:15:18 -07:00
moves [Beta][P2 Bug] Fix Sappy Seed applying its secondary effect against targets with Substitute (#4430) 2024-09-25 22:32:20 -04:00
mystery-encounter more ME dialogue cleanup 2024-09-24 13:41:00 -04:00
phases [Feature] Add Mystery Encounters to the game (#3938) 2024-09-14 03:05:58 +01:00
settingMenu [Test] Replace `doAttack()` with `move.select()` in tests (#3567) 2024-08-22 06:49:33 -07:00
sprites [Test] Replace `doAttack()` with `move.select()` in tests (#3567) 2024-08-22 06:49:33 -07:00
system [P1] Fixing continue menu option when game finishes (#4287) 2024-09-26 13:55:08 -07:00
ui [Bug] Fix exp gains speed not applying properly (#4243) 2024-09-14 12:35:46 -04:00
utils [Daily] Daily standardization (#3776) 2024-09-26 01:39:59 -07:00
account.test.ts [Misc] eslint rule to prevent `.js` imports (#4160) 2024-09-10 22:34:50 +02:00
battle-scene.test.ts [Bug] Fix eggs having exploitable RNG (#3913) 2024-09-02 22:18:18 -04:00
boss-pokemon.test.ts [Dev][Test] Add "Mystery Encounter" type for `create-test` script + minor timeout fixes (#4350) 2024-09-20 17:54:37 -04:00
daily_mode.test.ts [Daily] Daily standardization (#3776) 2024-09-26 01:39:59 -07:00
endless_boss.test.ts [Test] Add test for final boss fight phase switch (#3847) 2024-09-01 22:47:22 -04:00
enemy_command.test.ts [Refactor][Tests] Set default test timeout to `20s` (#4338) 2024-09-20 23:05:45 +02:00
escape-calculations.test.ts [Balance] Changed escape calculation (#3973) 2024-09-05 05:29:39 +00:00
evolution.test.ts [Refactor][Tests] Set default test timeout to `20s` (#4338) 2024-09-20 23:05:45 +02:00
final_boss.test.ts [Dev] Make `OPP_MOVESET_OVERRIDE` fully override the enemy's moveset (#4062) 2024-09-09 12:55:11 -04: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 [Test] Replace `doAttack()` with `move.select()` in tests (#3567) 2024-08-22 06:49:33 -07:00
misc.test.ts [Test] Tests now default to using "Set" battle style (#3728) 2024-09-01 23:32:31 -04:00
pre.test.ts Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00
reload.test.ts [Daily] Daily standardization (#3776) 2024-09-26 01:39:59 -07:00
vitest.setup.ts [Feature] Seasonal splash messages logic + scaffolding (#4318) 2024-09-19 15:59:37 -07:00