pokerogue/test
Sirz Benjie 48e911e03c
[Refactor] Remove circular deps 3 (#5959)
* Move game-mode to its own file

Reduces circular imports to 325

* Move battler-index to own file

Reduces circular deps to 314

* Move trainer-variant to own file

Reduces circ deps to 313

* Move enums in pokemon to their own file

* Move arena-tag-type to its own file

* Move pokemon-moves to its own file

* Move command to own file

* Move learnMoveType to own file

* Move form change item to own file

* Move battlerTagLapseType to own file

* Move anim enums to own shared file

* Move enums out of challenges

* Move species form change triggers to own file

Reduces circ imports to 291

* Update test importing pokemon move

* Replace move attribute imports with string names

* Untangle circular deps from game data

* Fix missing string call in switch summon phase

* Apply kev's suggestions from code review

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

* Ensure ChargeMove's is method calls super

* Use InstanceType for proper narrowing

* Apply kev's suggestions from code review

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

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-06-09 16:24:13 -07:00
..
abilities [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
achievements [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
arena [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
battle [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
battlerTags [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
data [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
eggs [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
field [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
inputs [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
items [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
moves [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
mystery-encounter [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
phases [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
plugins/api [Bug] Fix clear ignoring errors from server (#5722) 2025-04-29 23:55:42 -07:00
settingMenu [Refactor/Bug/Ability] Reworked BattleData, fixed Rage Fist, Harvest, Belch + Implemented Cud Chew (#5655) 2025-05-02 00:06:07 -05:00
sprites [Refactor] Refactor variant sprite code part 1 (#5592) 2025-04-09 10:43:05 -05:00
system [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
testUtils [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
ui [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
account.test.ts [Refactor] Remove circular imports part 1 (#5663) 2025-04-19 11:57:03 +00:00
battle-scene.test.ts [Test] Move test folder out of src (#5398) 2025-02-22 22:52:07 -06:00
boss-pokemon.test.ts [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
daily_mode.test.ts [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
endless_boss.test.ts [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
enemy_command.test.ts [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
escape-calculations.test.ts [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
evolution.test.ts [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
final_boss.test.ts [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
fontFace.setup.ts [Test] Move test folder out of src (#5398) 2025-02-22 22:52:07 -06:00
game-mode.test.ts [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
imports.test.ts [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
internals.test.ts [Misc] Improve enum naming (#5933) 2025-06-04 14:54:27 -07:00
misc.test.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
reload.test.ts [Refactor] Remove circular deps 3 (#5959) 2025-06-09 16:24:13 -07:00
utils.test.ts [Refactor/Bug/Ability] Reworked BattleData, fixed Rage Fist, Harvest, Belch + Implemented Cud Chew (#5655) 2025-05-02 00:06:07 -05:00
vitest.setup.ts [Biome] Add "no unused imports" rule (#5580) 2025-03-29 10:24:23 +00:00