Skip to content
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

react-sdk jest tests can be way off #16840

Open
turt2live opened this issue Apr 1, 2021 · 1 comment
Open

react-sdk jest tests can be way off #16840

turt2live opened this issue Apr 1, 2021 · 1 comment
Labels
A-Developer-Experience A-Testing Testing, code coverage, etc. O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Low/no impact on users T-Task Tasks for the team like planning

Comments

@turt2live
Copy link
Member

The error:
image

The line it is complaining about:
image

The error preview is completely wrong, and the line number is way off as well.

@Palid
Copy link
Contributor

Palid commented Sep 14, 2021

Seems we need to change babel/typescript config for Jest only. See jestjs/jest#336 for reference.

@Palid Palid added A-Developer-Experience O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Low/no impact on users T-Task Tasks for the team like planning Z-Bite-Sized labels Sep 14, 2021
@aaronraimist aaronraimist added the A-Testing Testing, code coverage, etc. label Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Developer-Experience A-Testing Testing, code coverage, etc. O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Low/no impact on users T-Task Tasks for the team like planning
Projects
None yet
Development

No branches or pull requests

5 participants