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

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

Merged
merged 2 commits into from Oct 18, 2017
Merged

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

merged 2 commits into from Oct 18, 2017

Conversation

arturmiz
Copy link
Contributor

Closes #3252

@paulirish
Copy link
Member

Hero!

@patrickhulce
Copy link
Collaborator

amazing! 👏

Copy link
Member

@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

@@ -196,7 +196,6 @@ function collateResults(actual, expected) {
const diff = findDifference(auditName, actualResult, expectedResult);

return {
category: auditName,
Copy link
Member

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 :)

@@ -212,10 +211,6 @@ describe('Config', () => {
}), /audit\(\) method/);

assert.throws(_ => new Config({
audits: [basePath + '/missing-category'],
Copy link
Member

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
Member

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
Member

@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.

None yet

4 participants