Skip to content

misc(audits): removed unused audit meta.category#3554

Merged
brendankenny merged 2 commits intoGoogleChrome:masterfrom
arturmiz:remove-audit.meta.category
Oct 18, 2017
Merged

misc(audits): removed unused audit meta.category#3554
brendankenny merged 2 commits intoGoogleChrome:masterfrom
arturmiz:remove-audit.meta.category

Conversation

@arturmiz
Copy link
Contributor

Closes #3252

@paulirish
Copy link
Member

Hero!

@patrickhulce
Copy link
Collaborator

amazing! 👏

Copy link
Contributor

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

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

Looks like that search work wasn't trivial :) Thanks!

I only see the one issue and one more thing that can be deleted, otherwise looking good

const diff = findDifference(auditName, actualResult, expectedResult);

return {
category: auditName,
Copy link
Contributor

Choose a reason for hiding this comment

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

the two in this file are a different category and should stay :)

audits: [basePath + '/missing-audit'],
}), /audit\(\) method/);

assert.throws(_ => new Config({
Copy link
Contributor

Choose a reason for hiding this comment

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

will you also delete the file this was loading (lighthouse-core/test/fixtures/invalid-audits/missing-category.js)

@brendankenny
Copy link
Contributor

brendankenny commented Oct 18, 2017

one more in

category: string;
(though not how well that file is maintained :)

@arturmiz
Copy link
Contributor Author

@brendankenny code review fixes applied 👍

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

LGTM thanks for the work here!

Copy link
Contributor

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

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

LGTM2, thanks!

@brendankenny brendankenny merged commit da35caa into GoogleChrome:master Oct 18, 2017
@arturmiz arturmiz deleted the remove-audit.meta.category branch October 18, 2017 23:30
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.

4 participants