(auditSlug: string, weight = 1)
| 27 | * @deprecated Use `axeAuditRefs` instead for multi-URL support. |
| 28 | */ |
| 29 | export function axeAuditRef(auditSlug: string, weight = 1): CategoryRef { |
| 30 | return { |
| 31 | plugin: AXE_PLUGIN_SLUG, |
| 32 | slug: auditSlug, |
| 33 | type: 'audit', |
| 34 | weight, |
| 35 | }; |
| 36 | } |
| 37 | |
| 38 | /** |
| 39 | * Creates category refs for Axe groups with multi-URL support. |