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

Function axeGroupRef

packages/plugin-axe/src/lib/utils.ts:17–24  ·  view source on GitHub ↗
(groupSlug: AxeGroupSlug, weight = 1)

Source from the content-addressed store, hash-verified

15 * @deprecated Use `axeGroupRefs` instead for multi-URL support.
16 */
17export function axeGroupRef(groupSlug: AxeGroupSlug, weight = 1): CategoryRef {
18 return {
19 plugin: AXE_PLUGIN_SLUG,
20 slug: groupSlug,
21 type: 'group',
22 weight,
23 };
24}
25
26/**
27 * @deprecated Use `axeAuditRefs` instead for multi-URL support.

Callers 2

utils.unit.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected