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