- mockI18next(): MockInstance<TFunction<["menu", ...(
| "move"
| "ability"
| "abilityTriggers"
| "arenaFlyout"
| "arenaTag"
| "battle"
| "battleInfo"
| "battleMessageUiHandler"
| "battlePokemonForm"
| "battlerTags"
| "berry"
| "bgmName"
| "biome"
| "challenges"
| "commandUiHandler"
| "common"
| "PGMachv"
| "PGFachv"
| "PGMdialogue"
| "PGFdialogue"
| "PGMbattleSpecDialogue"
| "PGFbattleSpecDialogue"
| "PGMmiscDialogue"
| "PGFmiscDialogue"
| "PGMdoubleBattleDialogue"
| "PGFdoubleBattleDialogue"
| "egg"
| "fightUiHandler"
| "filterBar"
| "gameMode"
| "gameStatsUiHandler"
| "growth"
| "menuUiHandler"
| "modifier"
| "modifierType"
| "nature"
| "pokeball"
| "pokemon"
| "pokemonForm"
| "pokemonInfo"
| "pokemonInfoContainer"
| "pokemonSummary"
| "saveSlotSelectUiHandler"
| "settings"
| "splashMessages"
| "starterSelectUiHandler"
| "statusEffect"
| "terrain"
| "titles"
| "trainerClasses"
| "trainerNames"
| "tutorial"
| "voucher"
| "weather"
| "partyUiHandler"
| "modifierSelectUiHandler"
| "moveTriggers")[]], undefined>> Returns MockInstance<TFunction<["menu", ...(
| "move"
| "ability"
| "abilityTriggers"
| "arenaFlyout"
| "arenaTag"
| "battle"
| "battleInfo"
| "battleMessageUiHandler"
| "battlePokemonForm"
| "battlerTags"
| "berry"
| "bgmName"
| "biome"
| "challenges"
| "commandUiHandler"
| "common"
| "PGMachv"
| "PGFachv"
| "PGMdialogue"
| "PGFdialogue"
| "PGMbattleSpecDialogue"
| "PGFbattleSpecDialogue"
| "PGMmiscDialogue"
| "PGFmiscDialogue"
| "PGMdoubleBattleDialogue"
| "PGFdoubleBattleDialogue"
| "egg"
| "fightUiHandler"
| "filterBar"
| "gameMode"
| "gameStatsUiHandler"
| "growth"
| "menuUiHandler"
| "modifier"
| "modifierType"
| "nature"
| "pokeball"
| "pokemon"
| "pokemonForm"
| "pokemonInfo"
| "pokemonInfoContainer"
| "pokemonSummary"
| "saveSlotSelectUiHandler"
| "settings"
| "splashMessages"
| "starterSelectUiHandler"
| "statusEffect"
| "terrain"
| "titles"
| "trainerClasses"
| "trainerNames"
| "tutorial"
| "voucher"
| "weather"
| "partyUiHandler"
| "modifierSelectUiHandler"
| "moveTriggers")[]], undefined>>
A spy/mock of i18next
Sets up the i18next mock. Includes a i18next.t mocked implementation only returning the raw key (
(key) => key
)