We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
First of all, it is great that you found a workaround to make jest.mock work at all! (I originally opened evanw/esbuild#412)
jest.mock
That being said, it does not seem to work with .tsx files. I am getting this error:
SyntaxError: test.spec.tsx: Unexpected token, expected "," (37:37) > 37 | const sut = render(<LinkCard card={card} />)
I see you use babel-jest under the hood. Perhaps it is just a case of a missing plugin or configuration option (I am not familiar with babel at all).
babel-jest
The text was updated successfully, but these errors were encountered:
No branches or pull requests
First of all, it is great that you found a workaround to make
jest.mock
work at all! (I originally opened evanw/esbuild#412)That being said, it does not seem to work with .tsx files. I am getting this error:
I see you use
babel-jest
under the hood. Perhaps it is just a case of a missing plugin or configuration option (I am not familiar with babel at all).The text was updated successfully, but these errors were encountered: