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

fix(node): node:test reports correct location #20025

Merged
merged 2 commits into from
Aug 2, 2023

Conversation

bartlomieju
Copy link
Member

Also removed some noisy output that caused test flakiness.

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

};
break;
}
testDesc.location = location;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function is getting large. In the future, would be good to break this up a bit probably:

testDesc.location = getLocationFromError(jsError)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree

@bartlomieju bartlomieju merged commit d9c85e0 into denoland:main Aug 2, 2023
12 checks passed
@bartlomieju bartlomieju deleted the node_test_test_location branch August 2, 2023 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants