Skip to content

Conversation

@yehuya
Copy link

@yehuya yehuya commented Jan 22, 2025

Summary

  1. Improved the "DOMPurify custom window" test to ensure that the document and window.Element are tested separately.
  2. Increased the likelihood of the test failing if a new window property is required in the future, thereby reducing the risk of future TypeError: Cannot read properties of undefined errors.

@cure53
Copy link
Owner

cure53 commented Jan 22, 2025

Thank you, this LGTM

@cure53 cure53 merged commit 0d64d2b into cure53:main Jan 22, 2025
8 checks passed
@yehuya yehuya deleted the initializeTestImprovements branch January 22, 2025 13:18
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