This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
Better react-i18n / Jest integration #1169
Labels
Area: testing
Area: tooling
Package: react-i18n
stale
Stale issue that hasn't received any attention in a while
Type: Feature Request 🙌
Request a new feature or changes to an existing one
Overview
This is a mix between feature request / bug report 😄 Right now, adding a new translation file doesn't invalidate the Babel cache. So if we:
./foo/FooComponent.jsx
+./foo/translations/en.json
FooComponent
to the Jest cache)./foo/translations/fr.json
Type
Motivation
Stale translations have blocked CI for at least one significant Shopify webapp. Can't share the details of that here, but the scenario was:
The text was updated successfully, but these errors were encountered: