HF RL Explorer

Can't reuse the configured i18next instance from i18n.js in tests

Can't reuse the configured i18next instance from i18n.js in tests: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). I'm trying to add some Jest tests for components in this project. A lot of our components render translated strings via react-i18next , so in the…

The task

I'm trying to add some Jest tests for components in this project. A lot of our components render translated strings via `react-i18next`, so in the tests I need access to the i18next instance that's already configured in `i18n.js` (with all the `langs/*.json` resources, fallback language, etc.).

Part of FineEnvs/MiMo-V2.6-RL-harbor-code.