8000 Isolate functions only used by tests by tushuhei · Pull Request #906 · google/budoux · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Isolate functions only used by tests #906

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

Merged
merged 3 commits into from
Feb 14, 2025
Merged

Isolate functions only used by tests #906

merged 3 commits into from
Feb 14, 2025

Conversation

tushuhei
Copy link
Member
@tushuhei tushuhei commented Feb 7, 2025

Isolate DOM related functions used only by tests into testutils.ts, making the original dom.ts and dom-browser.ts as small as possible. By doing this, the product code don't need to worry about risky functions such as setInnerHTML.

@tushuhei
Copy link
Member Author

@kojiishi Could you take a look at this PR when you have a chance?

Copy link
Collaborator
@kojiishi kojiishi left a comment

Choose a reason for hiding this comment

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

LGTM

@tushuhei tushuhei merged commit 5da92e4 into main Feb 14, 2025
26 checks passed
@tushuhei tushuhei deleted the isolate-testutil branch March 11, 2025 05:29
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
0