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

core(tsc): more type checking of top-level audits #5089

Merged
merged 3 commits into from
May 2, 2018
Merged

Conversation

brendankenny
Copy link
Member

multi-check audits, screenshots and viewport

@brendankenny
Copy link
Member Author

added unit test for new failure case in time-to-first-byte where somehow we end up with a finalUrl without a network record for it, which should be impossible considering finalUrl comes from the network records :)

Maybe some -GA mismatch situation

@@ -30,8 +32,8 @@ class ScreenshotThumbnails extends Audit {
* Scales down an image to THUMBNAIL_WIDTH using nearest neighbor for speed, maintains aspect
* ratio of the original thumbnail.
*
* @param {{width: number, height: number, data: !Array<number>}} imageData
* @return {{width: number, height: number, data: !Array<number>}}
Copy link
Member

Choose a reason for hiding this comment

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

do we want to reference the speedlineoutput.frames type instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

SG, done

@brendankenny brendankenny merged commit ed14c8e into master May 2, 2018
@brendankenny brendankenny deleted the tsaudits2 branch May 2, 2018 20:36
kdzwinel pushed a commit to kdzwinel/lighthouse that referenced this pull request Aug 16, 2018
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.

None yet

3 participants