Skip to content

Commit

Permalink
hide audit
Browse files Browse the repository at this point in the history
  • Loading branch information
adamraine committed Aug 26, 2024
1 parent ce35809 commit bb59912
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
3 changes: 2 additions & 1 deletion core/config/default-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,10 +553,11 @@ const defaultConfig = {
// General Group
{id: 'js-libraries', weight: 0, group: 'best-practices-general'},
{id: 'deprecations', weight: 5, group: 'best-practices-general'},
{id: 'third-party-cookies', weight: 5, group: 'best-practices-general'},
{id: 'errors-in-console', weight: 1, group: 'best-practices-general'},
{id: 'valid-source-maps', weight: 0, group: 'best-practices-general'},
{id: 'inspector-issues', weight: 1, group: 'best-practices-general'},
// Hidden audits
{id: 'third-party-cookies', weight: 0, group: 'hidden'},
],
},
'seo': {
Expand Down
30 changes: 15 additions & 15 deletions core/test/fixtures/user-flows/reports/sample-flow-result.json
Original file line number Diff line number Diff line change
Expand Up @@ -4618,11 +4618,6 @@
"weight": 5,
"group": "best-practices-general"
},
{
"id": "third-party-cookies",
"weight": 5,
"group": "best-practices-general"
},
{
"id": "errors-in-console",
"weight": 1,
Expand All @@ -4637,6 +4632,11 @@
"id": "inspector-issues",
"weight": 1,
"group": "best-practices-general"
},
{
"id": "third-party-cookies",
"weight": 0,
"group": "hidden"
}
],
"id": "best-practices",
Expand Down Expand Up @@ -10829,11 +10829,6 @@
"weight": 5,
"group": "best-practices-general"
},
{
"id": "third-party-cookies",
"weight": 5,
"group": "best-practices-general"
},
{
"id": "errors-in-console",
"weight": 1,
Expand All @@ -10848,6 +10843,11 @@
"id": "inspector-issues",
"weight": 1,
"group": "best-practices-general"
},
{
"id": "third-party-cookies",
"weight": 0,
"group": "hidden"
}
],
"id": "best-practices",
Expand Down Expand Up @@ -22477,11 +22477,6 @@
"weight": 5,
"group": "best-practices-general"
},
{
"id": "third-party-cookies",
"weight": 5,
"group": "best-practices-general"
},
{
"id": "errors-in-console",
"weight": 1,
Expand All @@ -22496,6 +22491,11 @@
"id": "inspector-issues",
"weight": 1,
"group": "best-practices-general"
},
{
"id": "third-party-cookies",
"weight": 0,
"group": "hidden"
}
],
"id": "best-practices",
Expand Down
12 changes: 6 additions & 6 deletions core/test/results/sample_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6754,11 +6754,6 @@
"weight": 5,
"group": "best-practices-general"
},
{
"id": "third-party-cookies",
"weight": 5,
"group": "best-practices-general"
},
{
"id": "errors-in-console",
"weight": 1,
Expand All @@ -6773,10 +6768,15 @@
"id": "inspector-issues",
"weight": 1,
"group": "best-practices-general"
},
{
"id": "third-party-cookies",
"weight": 0,
"group": "hidden"
}
],
"id": "best-practices",
"score": 0.36
"score": 0.22
},
"seo": {
"title": "SEO",
Expand Down

0 comments on commit bb59912

Please sign in to comment.