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 reported location #262

Merged
merged 2 commits into from
Oct 5, 2024
Merged

Conversation

thatsmydoing
Copy link
Contributor

Fixes #258

@ljharb
Copy link
Collaborator

ljharb commented Oct 1, 2024

The fix is straightforward, but we'll need regression tests.

Copy link
Contributor Author

@thatsmydoing thatsmydoing left a comment

Choose a reason for hiding this comment

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

I've added a test case for it.

{
errorCount: mockOptions.errorCount,
warningCount: 0,
messages: [
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The number of entries here should probably match mockOptions.errorCount but for the purposes of testing, this is probably fine? The original test didn't even have messages to begin with.

Copy link
Collaborator

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

LGTM if tests pass

@ljharb ljharb requested a review from SimenB October 3, 2024 10:16
Copy link
Member

@SimenB SimenB left a comment

Choose a reason for hiding this comment

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

Thanks!

@SimenB SimenB merged commit 9abd049 into jest-community:main Oct 5, 2024
112 checks passed
@SimenB
Copy link
Member

SimenB commented Oct 5, 2024

I'm away from a laptop today, but can make a release tomorrow or Monday 👍

@SimenB
Copy link
Member

SimenB commented Oct 7, 2024

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.

Jest result column and line are flipped
3 participants