-
-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
next-intl/link
is causing an error in tests
#452
Comments
Thanks for the great bug report @dgknca! I've just published Can you try it out in your app and let me know if it works? Thank you! |
yes, it works. thanks! |
Hello @amannn. I have the same error in version |
@cjambrosi Can you create a minimal reproduction and open a new issue that references it? |
@amannn, thanks for replying. I opened a new issue and created a repository to reproduce the error. |
Description
The version I'm using:
3.0.0-beta.9
There is no problem while development but I can't fix this error in tests. I've attached a repository you can peek at that reproduces the error in the simplest way. This error occurs in all components where we've used the
I18nLink
component. This causes all of our component tests to fail.Mandatory reproduction URL (CodeSandbox or GitHub repository)
https://github.com/dgknca/next-intl-jest-error-reproduce
Reproduction description
Steps to reproduce:
pnpm test
commandSyntaxError: Unexpected token 'export'
Expected behaviour
No error
The text was updated successfully, but these errors were encountered: