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
Unexpected error is thrown in unit tests after upgrading nodejs
It's possible this is a bug with NodeJS, but I don't know the inner workings of FormatJS, so if assessed as such please close this bug.
To Reproduce
On Node v20.12.1, not observed in earlier version like 20.9.0
Create a unit test for a component that shouldPolyfill is invoked in
run test
when shouldPolyfill is called in either intl-relativetimeformat or intl-pluralrules error is thrown
Codesandbox URL
Not observed in actual application
Expected behavior
Calling shouldPolyfill shouldn't err in jest test
Desktop (please complete the following information):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Which package?
intl-relativetimeformat
intl-pluralrules
Describe the bug
Unexpected error is thrown in unit tests after upgrading nodejs
It's possible this is a bug with NodeJS, but I don't know the inner workings of FormatJS, so if assessed as such please close this bug.
To Reproduce
shouldPolyfill
is called in either intl-relativetimeformat or intl-pluralrules error is thrownCodesandbox URL
Not observed in actual application
Expected behavior
Calling shouldPolyfill shouldn't err in jest test
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: