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

chore: tests for special characters #19

Conversation

gentlementlegen
Copy link
Member

@gentlementlegen gentlementlegen commented May 5, 2024

Resolves #18

…ers-escaping

# Conflicts:
#	tests/__mocks__/results/github-comment-results.json
#	tests/__mocks__/results/output.html
#	tests/__mocks__/results/permit-generation-results.json
@gentlementlegen
Copy link
Member Author

gentlementlegen commented May 15, 2024

Added tests to make sure the serialization for complex comments works and we don't get regressions, since before it sometimes resulted in a broken UI due to HTML being interpreted when it was just the content of the comment. See this file for reference of what is tested, and this issue for run results.

@gentlementlegen gentlementlegen marked this pull request as ready for review May 15, 2024 16:00
@gentlementlegen gentlementlegen merged commit 142ad6d into ubiquity-os-marketplace:development May 16, 2024
2 of 3 checks passed
@gentlementlegen gentlementlegen deleted the fix/special-characters-escaping branch May 16, 2024 06:37
@rndquu
Copy link
Member

rndquu commented May 16, 2024

@molecula451 Why did you merge it with failing tests?

@molecula451
Copy link

molecula451 commented May 16, 2024

@molecula451 Why did you merge it with failing tests?

I approved the PR here. I did not merged, gentleman merged, in any case, i think gentleman is aware of the failing tests run

image_2024-05-16_050100027

@gentlementlegen
Copy link
Member Author

@rndquu @molecula451 yes checking in the next PR since it contains more tests so was easier to fix all of them at the same time, will update all of them at once

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.

Serialization of HTML Comments
3 participants