You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that version 2.7.0 of country-region-data does not exhibit this behaviour (I can change nothing but the version and the test passes). Also note that v3.0.0 works correctly in the associated application, it is specifically the Jest test suite where it is undefined (and in the application itself when running in Jest).
+1 to this issue, but in another context. My project builds a Remix app using vite 5.4.1 and on the server import of the package the value is undefined. Vite is configured in esm server modules, though I'm a bit confused why this would be the problem.
Here's a minimal reproduction:
Result:
Note that version 2.7.0 of country-region-data does not exhibit this behaviour (I can change nothing but the version and the test passes). Also note that v3.0.0 works correctly in the associated application, it is specifically the Jest test suite where it is undefined (and in the application itself when running in Jest).
Version information:
jest: 29.7.0
country-region-data: 3.0.0
node: 18.15.0
The text was updated successfully, but these errors were encountered: