pokerogue/src/test/moves
NightKev 0d3fcd82bb
[Bug] Fix daily run generated movesets (#3519)
* Fix daily run generated movesets

* add unit-tests for `fix-daily-run` (#3)

* add `daily` and `classic` helper. split `runToSummon`

there is now a `classicMode.runToSummon` which represents the old one used.
There is now a `dailyMode.runToSummon` too

* add daily_mode.test.ts

covers the occured issue

---------

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-08-13 21:48:56 +01:00
..
astonish.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
aurora_veil.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
baton_pass.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
beak_blast.test.ts [Move] Reimplement Beak Blast (#3427) 2024-08-08 14:03:28 -04:00
beat_up.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
belly_drum.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
ceaseless_edge.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
clangorous_soul.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
crafty_shield.test.ts [Move] Refactor Conditional Protection and Protect interactions (#2731) 2024-08-13 21:47:32 +01:00
double_team.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
dragon_rage.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
dragon_tail.test.ts [BUG] - dragon tail switchout ability in wild battles proc crashes game (#3346) 2024-08-07 20:44:34 -04:00
dynamax_cannon.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
fillet_away.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
fissure.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
flame_burst.test.ts [Test] Stylistic consistency pass on tests (#3378) 2024-08-06 10:06:25 -04:00
flower_shield.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
focus_punch.test.ts [Enhancement] Add Move Header phase and attributes (#2716) 2024-08-07 14:32:56 -04:00
follow_me.test.ts [Test] Stylistic consistency pass on tests (#3378) 2024-08-06 10:06:25 -04:00
foresight.test.ts [Test] Fix test names that weren't changed from copy/pasting (#3502) 2024-08-12 00:54:42 -04:00
freezy_frost.test.ts [Bug] Fixes bug with freezy frost not eliminating all Pokemon's stat changes (#3362) 2024-08-09 10:16:38 -04:00
fusion_bolt.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
fusion_flare_bolt.test.ts [Dev] Move function from testUtils.ts to gameManager.ts (2/3) (#3432) 2024-08-09 11:07:55 -04:00
fusion_flare.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
gastro_acid.test.ts [Dev] Move function from testUtils.ts to gameManager.ts (2/3) (#3432) 2024-08-09 11:07:55 -04:00
glaive_rush.test.ts [Move] Refactor Conditional Protection and Protect interactions (#2731) 2024-08-13 21:47:32 +01:00
growth.test.ts [Test] Stylistic consistency pass on tests (#3378) 2024-08-06 10:06:25 -04:00
hard_press.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
haze.test.ts [Bug] Fixes bug with freezy frost not eliminating all Pokemon's stat changes (#3362) 2024-08-09 10:16:38 -04:00
hyper_beam.test.ts [Test] Fix hyper beam and purify test rng (#3449) 2024-08-09 09:40:00 -04:00
light_screen.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
lucky_chant.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
magnet_rise.test.ts [Test] Stylistic consistency pass on tests (#3378) 2024-08-06 10:06:25 -04:00
make_it_rain.test.ts [Dev] Move function from testUtils.ts to gameManager.ts (1/3) (#3430) 2024-08-09 10:37:10 -04:00
mat_block.test.ts [Move] Refactor Conditional Protection and Protect interactions (#2731) 2024-08-13 21:47:32 +01:00
miracle_eye.test.ts [Test] Fix test names that weren't changed from copy/pasting (#3502) 2024-08-12 00:54:42 -04:00
multi_target.test.ts [Bug] Fix daily run generated movesets (#3519) 2024-08-13 21:48:56 +01:00
octolock.test.ts [Test] Stylistic consistency pass on tests (#3378) 2024-08-06 10:06:25 -04:00
parting_shot.test.ts [TEST] - adding parting shot move test (#3412) 2024-08-12 01:13:56 -04:00
protect.test.ts [Move] Refactor Conditional Protection and Protect interactions (#2731) 2024-08-13 21:47:32 +01:00
purify.test.ts [Dev] Move function from testUtils.ts to gameManager.ts (2/3) (#3432) 2024-08-09 11:07:55 -04:00
quick_guard.test.ts [Move] Refactor Conditional Protection and Protect interactions (#2731) 2024-08-13 21:47:32 +01:00
rage_powder.test.ts [Test] Stylistic consistency pass on tests (#3378) 2024-08-06 10:06:25 -04:00
reflect.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
rollout.test.ts [Test] Stylistic consistency pass on tests (#3378) 2024-08-06 10:06:25 -04:00
roost.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
shell_trap.test.ts [Move] Implement Shell Trap (#3500) 2024-08-13 21:47:05 +01:00
spikes.test.ts [Bug] Fix daily run generated movesets (#3519) 2024-08-13 21:48:56 +01:00
spit_up.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
spotlight.test.ts [Test] Stylistic consistency pass on tests (#3378) 2024-08-06 10:06:25 -04:00
stockpile.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
swallow.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
tackle.test.ts [Test] Stylistic consistency pass on tests (#3378) 2024-08-06 10:06:25 -04:00
tail_whip.test.ts [Test] Stylistic consistency pass on tests (#3378) 2024-08-06 10:06:25 -04:00
tailwind.test.ts [Test] Fix test names that weren't changed from copy/pasting (#3502) 2024-08-12 00:54:42 -04:00
thousand_arrows.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
tidy_up.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
u_turn.test.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
wide_guard.test.ts [Move] Refactor Conditional Protection and Protect interactions (#2731) 2024-08-13 21:47:32 +01:00