pokerogue/src/test
flx-sta f180b6070e
[Qol] Load i18n en locales during tests (#4553)
* add: i18n backend support

the backend is being supported by using msw which will import the correct file from the local locales folder

* fix: tests to no longer rely on static i18n keys

* Update src/test/mystery-encounter/encounters/teleporting-hijinks-encounter.test.ts

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

* Update src/test/mystery-encounter/encounters/teleporting-hijinks-encounter.test.ts

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

* Update src/test/ui/type-hints.test.ts

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

* Update src/test/mystery-encounter/encounters/a-trainers-test-encounter.test.ts

Co-authored-by: MokaStitcher <54149968+MokaStitcher@users.noreply.github.com>

* Fix typos

Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>

* Fix linting

* update locales submodule

update reference to `56eeb809eb5a2de40cfc5bc6128a78bef14deea9` (from `3ccef8472dd7cc7c362538489954cb8fdad27e5f`)

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: MokaStitcher <54149968+MokaStitcher@users.noreply.github.com>
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
2024-10-09 13:01:49 -07:00
..
abilities [Qol] Load i18n en locales during tests (#4553) 2024-10-09 13:01:49 -07:00
achievements add new lint rules....again 2024-10-04 13:08:31 +08:00
arena add new lint rules....again 2024-10-04 13:08:31 +08: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 add new lint rules....again 2024-10-04 13:08:31 +08:00
eggs add new lint rules....again 2024-10-04 13:08:31 +08: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 [Qol] Load i18n en locales during tests (#4553) 2024-10-09 13:01:49 -07:00
moves [Move] Triple Arrows effect chance for stat change is now 50% (#4543) 2024-10-08 05:32:51 -07:00
mystery-encounter [Qol] Load i18n en locales during tests (#4553) 2024-10-09 13:01:49 -07:00
phases [Qol] Load i18n en locales during tests (#4553) 2024-10-09 13:01:49 -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 [Beta P1] Fix regression in Metal Burst caused by #3974 (#4589) 2024-10-06 17:31:11 -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