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

Function createCategories

packages/plugin-axe/src/lib/categories.ts:44–54  ·  view source on GitHub ↗
(
  plugin: Pick<PluginConfig, 'groups' | 'context'>,
)

Source from the content-addressed store, hash-verified

42}
43
44function createCategories(
45 plugin: Pick<PluginConfig, 'groups' | 'context'>,
46): CategoryConfig[] {
47 return [
48 {
49 slug: 'axe-a11y',
50 title: 'Axe Accessibility',
51 refs: axeGroupRefs(plugin),
52 },
53 ];
54}
55
56function expandCategories(
57 plugin: Pick<PluginConfig, 'context'>,

Callers 1

axeCategoriesFunction · 0.70

Calls 1

axeGroupRefsFunction · 0.85

Tested by

no test coverage detected