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(jest-matcher-utils): show byte order mark character in diff #13997

Closed
wants to merge 2 commits into from

Conversation

lpizzinidev
Copy link
Contributor

Summary

The byte order mark character is now shown in diff as a no-break space character to simplify debugging.

For example:

it("highlight byte order mark", () => {
  expect("\uFEFFTest content").toBe("Test content");
});

Will show:
Screenshot 2023-03-10 at 14 52 27

Closes #10584

@github-actions
Copy link

github-actions bot commented Jun 8, 2023

This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Jun 8, 2023
@github-actions
Copy link

github-actions bot commented Jul 8, 2023

This PR was closed because it has been stalled for 30 days with no activity. Please open a new PR if the issue is still relevant, linking to this one.

@github-actions github-actions bot closed this Jul 8, 2023
@github-actions
Copy link

github-actions bot commented Jul 8, 2023

This PR was closed because it has been stalled for 30 days with no activity. Please open a new PR if the issue is still relevant, linking to this one.

@github-actions
Copy link

github-actions bot commented Aug 8, 2023

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Zero width chars not showing in diff
2 participants