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

Meta: improve test coverage #1334

Merged
merged 4 commits into from
Dec 3, 2024

Conversation

MattiasBuelens
Copy link
Collaborator

@MattiasBuelens MattiasBuelens commented Nov 29, 2024

This adds a few new WPT tests in order to improve our test coverage.

I used npm run coverage on the reference implementation to look for statements that were never hit, or branches that were never taken. I then wrote new tests to hit those statements and/or take the other branches.

No normative changes, since the reference implementation already passes all new tests.

@domenic domenic merged commit fa4891a into whatwg:main Dec 3, 2024
3 checks passed
@MattiasBuelens MattiasBuelens deleted the improve-test-coverage branch December 3, 2024 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants