MCPcopy Create free account
hub / github.com/code-pushup/cli / axeAuditRef

Function axeAuditRef

packages/plugin-axe/src/lib/utils.ts:29–36  ·  view source on GitHub ↗
(auditSlug: string, weight = 1)

Source from the content-addressed store, hash-verified

27 * @deprecated Use `axeAuditRefs` instead for multi-URL support.
28 */
29export 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.

Callers 1

utils.unit.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected