- mockI18next(): MockInstance<[key: string | string[], options: TOptionsBase & $Dictionary & {
defaultValue: string;
}] | [key: string | string[], defaultValue: string, options?: TOptionsBase & $Dictionary] | [key:
| TemplateStringsArray
| `move:${string}`
| `menu:${string}`
| `ability:${string}`
| `abilityTriggers:${string}`
| `arenaFlyout:${string}`
| `battle:${string}`
| `battleInfo:${string}`
| `battleMessageUiHandler:${string}`
| `battlerTags:${string}`
| `berry:${string}`
| `bgmName:${string}`
| `biome:${string}`
| `challenges:${string}`
| `commandUiHandler:${string}`
| `common:${string}`
| `PGMachv:${string}`
| `PGFachv:${string}`
| `PGMbattleSpecDialogue:${string}`
| `PGFbattleSpecDialogue:${string}`
| `PGMmiscDialogue:${string}`
| `PGFmiscDialogue:${string}`
| `egg:${string}`
| `fightUiHandler:${string}`
| `gameMode:${string}`
| `gameStatsUiHandler:${string}`
| `growth:${string}`
| `menuUiHandler:${string}`
| `modifier:${string}`
| `modifierType:ModifierType.${string}`
| `modifierType:SpeciesBoosterItem.${string}`
| `modifierType:AttackTypeBoosterItem.${string}`
| `modifierType:TempBattleStatBoosterItem.${string}`
| `modifierType:TempBattleStatBoosterStatName.${string}`
| `modifierType:BaseStatBoosterItem.${string}`
| `modifierType:EvolutionItem.${string}`
| `modifierType:FormChangeItem.${string}`
| `nature:${string}`
| `pokeball:${string}`
| `pokemon:${string}`
| `pokemonForm:${string}`
| `pokemonInfo:Stat.${string}`
| `pokemonInfo:Type.${string}`
| `pokemonInfoContainer:${string}`
| `pokemonSummary:${string}`
| `saveSlotSelectUiHandler:${string}`
| `settings:${string}`
| `splashMessages:${string}`
| `starterSelectUiHandler:${string}`
| `statusEffect:${string}`
| `terrain:${string}`
| `titles:${string}`
| `trainerClasses:${string}`
| `trainerNames:${string}`
| `tutorial:${string}`
| `voucher:${string}`
| `weather:${string}`
| `partyUiHandler:${string}`
| `modifierSelectUiHandler:${string}`
| `PGMdialogue:${string}.${string}`
| `PGFdialogue:${string}.${string}`
| `PGMdoubleBattleDialogue:${string}.${string}`
| `PGFdoubleBattleDialogue:${string}.${string}`
| (
| TemplateStringsArray
| `move:${string}`
| `menu:${string}`
| `ability:${string}`
| `abilityTriggers:${string}`
| `arenaFlyout:${string}`
| `battle:${string}`
| `battleInfo:${string}`
| `battleMessageUiHandler:${string}`
| `battlerTags:${string}`
| `berry:${string}`
| `bgmName:${string}`
| `biome:${string}`
| `challenges:${string}`
| `commandUiHandler:${string}`
| `common:${string}`
| `PGMachv:${string}`
| `PGFachv:${string}`
| `PGMbattleSpecDialogue:${string}`
| `PGFbattleSpecDialogue:${string}`
| `PGMmiscDialogue:${string}`
| `PGFmiscDialogue:${string}`
| `egg:${string}`
| `fightUiHandler:${string}`
| `gameMode:${string}`
| `gameStatsUiHandler:${string}`
| `growth:${string}`
| `menuUiHandler:${string}`
| `modifier:${string}`
| `modifierType:ModifierType.${string}`
| `modifierType:SpeciesBoosterItem.${string}`
| `modifierType:AttackTypeBoosterItem.${string}`
| `modifierType:TempBattleStatBoosterItem.${string}`
| `modifierType:TempBattleStatBoosterStatName.${string}`
| `modifierType:BaseStatBoosterItem.${string}`
| `modifierType:EvolutionItem.${string}`
| `modifierType:FormChangeItem.${string}`
| `nature:${string}`
| `pokeball:${string}`
| `pokemon:${string}`
| `pokemonForm:${string}`
| `pokemonInfo:Stat.${string}`
| `pokemonInfo:Type.${string}`
| `pokemonInfoContainer:${string}`
| `pokemonSummary:${string}`
| `saveSlotSelectUiHandler:${string}`
| `settings:${string}`
| `splashMessages:${string}`
| `starterSelectUiHandler:${string}`
| `statusEffect:${string}`
| `terrain:${string}`
| `titles:${string}`
| `trainerClasses:${string}`
| `trainerNames:${string}`
| `tutorial:${string}`
| `voucher:${string}`
| `weather:${string}`
| `partyUiHandler:${string}`
| `modifierSelectUiHandler:${string}`
| `PGMdialogue:${string}.${string}`
| `PGFdialogue:${string}.${string}`
| `PGMdoubleBattleDialogue:${string}.${string}`
| `PGFdoubleBattleDialogue:${string}.${string}`)[], options?: TOptionsBase & $Dictionary], never> Returns MockInstance<[key: string | string[], options: TOptionsBase & $Dictionary & {
defaultValue: string;
}] | [key: string | string[], defaultValue: string, options?: TOptionsBase & $Dictionary] | [key:
| TemplateStringsArray
| `move:${string}`
| `menu:${string}`
| `ability:${string}`
| `abilityTriggers:${string}`
| `arenaFlyout:${string}`
| `battle:${string}`
| `battleInfo:${string}`
| `battleMessageUiHandler:${string}`
| `battlerTags:${string}`
| `berry:${string}`
| `bgmName:${string}`
| `biome:${string}`
| `challenges:${string}`
| `commandUiHandler:${string}`
| `common:${string}`
| `PGMachv:${string}`
| `PGFachv:${string}`
| `PGMbattleSpecDialogue:${string}`
| `PGFbattleSpecDialogue:${string}`
| `PGMmiscDialogue:${string}`
| `PGFmiscDialogue:${string}`
| `egg:${string}`
| `fightUiHandler:${string}`
| `gameMode:${string}`
| `gameStatsUiHandler:${string}`
| `growth:${string}`
| `menuUiHandler:${string}`
| `modifier:${string}`
| `modifierType:ModifierType.${string}`
| `modifierType:SpeciesBoosterItem.${string}`
| `modifierType:AttackTypeBoosterItem.${string}`
| `modifierType:TempBattleStatBoosterItem.${string}`
| `modifierType:TempBattleStatBoosterStatName.${string}`
| `modifierType:BaseStatBoosterItem.${string}`
| `modifierType:EvolutionItem.${string}`
| `modifierType:FormChangeItem.${string}`
| `nature:${string}`
| `pokeball:${string}`
| `pokemon:${string}`
| `pokemonForm:${string}`
| `pokemonInfo:Stat.${string}`
| `pokemonInfo:Type.${string}`
| `pokemonInfoContainer:${string}`
| `pokemonSummary:${string}`
| `saveSlotSelectUiHandler:${string}`
| `settings:${string}`
| `splashMessages:${string}`
| `starterSelectUiHandler:${string}`
| `statusEffect:${string}`
| `terrain:${string}`
| `titles:${string}`
| `trainerClasses:${string}`
| `trainerNames:${string}`
| `tutorial:${string}`
| `voucher:${string}`
| `weather:${string}`
| `partyUiHandler:${string}`
| `modifierSelectUiHandler:${string}`
| `PGMdialogue:${string}.${string}`
| `PGFdialogue:${string}.${string}`
| `PGMdoubleBattleDialogue:${string}.${string}`
| `PGFdoubleBattleDialogue:${string}.${string}`
| (
| TemplateStringsArray
| `move:${string}`
| `menu:${string}`
| `ability:${string}`
| `abilityTriggers:${string}`
| `arenaFlyout:${string}`
| `battle:${string}`
| `battleInfo:${string}`
| `battleMessageUiHandler:${string}`
| `battlerTags:${string}`
| `berry:${string}`
| `bgmName:${string}`
| `biome:${string}`
| `challenges:${string}`
| `commandUiHandler:${string}`
| `common:${string}`
| `PGMachv:${string}`
| `PGFachv:${string}`
| `PGMbattleSpecDialogue:${string}`
| `PGFbattleSpecDialogue:${string}`
| `PGMmiscDialogue:${string}`
| `PGFmiscDialogue:${string}`
| `egg:${string}`
| `fightUiHandler:${string}`
| `gameMode:${string}`
| `gameStatsUiHandler:${string}`
| `growth:${string}`
| `menuUiHandler:${string}`
| `modifier:${string}`
| `modifierType:ModifierType.${string}`
| `modifierType:SpeciesBoosterItem.${string}`
| `modifierType:AttackTypeBoosterItem.${string}`
| `modifierType:TempBattleStatBoosterItem.${string}`
| `modifierType:TempBattleStatBoosterStatName.${string}`
| `modifierType:BaseStatBoosterItem.${string}`
| `modifierType:EvolutionItem.${string}`
| `modifierType:FormChangeItem.${string}`
| `nature:${string}`
| `pokeball:${string}`
| `pokemon:${string}`
| `pokemonForm:${string}`
| `pokemonInfo:Stat.${string}`
| `pokemonInfo:Type.${string}`
| `pokemonInfoContainer:${string}`
| `pokemonSummary:${string}`
| `saveSlotSelectUiHandler:${string}`
| `settings:${string}`
| `splashMessages:${string}`
| `starterSelectUiHandler:${string}`
| `statusEffect:${string}`
| `terrain:${string}`
| `titles:${string}`
| `trainerClasses:${string}`
| `trainerNames:${string}`
| `tutorial:${string}`
| `voucher:${string}`
| `weather:${string}`
| `partyUiHandler:${string}`
| `modifierSelectUiHandler:${string}`
| `PGMdialogue:${string}.${string}`
| `PGFdialogue:${string}.${string}`
| `PGMdoubleBattleDialogue:${string}.${string}`
| `PGFdoubleBattleDialogue:${string}.${string}`)[], options?: TOptionsBase & $Dictionary], never>
A spy/mock of i18next
Sets up the i18next mock. Includes a i18next.t mocked implementation only returning the raw key (
(key) => key
)