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

Infrastructure: Exclude skipto.js in coverage-report.js and report accurate values in Coverage and Quality Reports #3026

Merged
merged 1 commit into from
May 23, 2024

Conversation

howard-e
Copy link
Contributor

@howard-e howard-e commented May 23, 2024

While investigating #3000 (comment), found that values under the Coding Summary, Coding Practices and Mouse and Pointer Events of the Coverage and Quality Reports page were being significantly and inaccurately increased.

That's because of the skipto.js utility included in each pattern's html file was not being ignored in the coverage-report.js script and was adding to the metrics when the *.js files were being evaluated.


WAI Preview Link (Last built on Thu, 23 May 2024 12:59:46 GMT).

@howard-e howard-e changed the title Infrastructure: Exclude skipto.js during npm run coverage-report Infrastructure: Exclude skipto.js in coverage-report.js and report accurate values in Coverage and Quality Reports May 23, 2024
@howard-e howard-e added the bug Code defects; not for inaccurate prose label May 23, 2024
Copy link
Contributor

@mcking65 mcking65 left a comment

Choose a reason for hiding this comment

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

thanks @howard-e ... i did think it odd to see skipto.js entries in the e log from 3000

@mcking65 mcking65 merged commit 39fb654 into main May 23, 2024
13 checks passed
@mcking65 mcking65 deleted the exclude-skipto-coverage-report branch May 23, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Code defects; not for inaccurate prose
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants