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

test: Fix Chromium JSCoverage reportAnonymousScripts test #3641

Merged
merged 1 commit into from
Aug 26, 2020

Conversation

kblok
Copy link
Contributor

@kblok kblok commented Aug 26, 2020

Anonymous scripts won't come with URL debugger:// but an empty string.
The test was passing because coverage.find returns undefined which is not null.

Anonymous scripts won't come with URL `debugger://` but an empty string.
The test was passing because `coverage.find` returns undefined which is not null.
@yury-s yury-s merged commit 9b50a6d into microsoft:master Aug 26, 2020
@kblok kblok deleted the patch-11 branch August 26, 2020 19:41
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