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

Function lighthouseGroupSlugs

packages/plugin-lighthouse/src/lib/utils.ts:111–118  ·  view source on GitHub ↗
(
  plugin: Pick<PluginConfig, 'groups'>,
)

Source from the content-addressed store, hash-verified

109}
110
111export function lighthouseGroupSlugs(
112 plugin: Pick<PluginConfig, 'groups'>,
113): LighthouseGroupSlug[] {
114 if (!plugin.groups) {
115 return [];
116 }
117 return extractGroupSlugs(plugin.groups).filter(isLighthouseGroupSlug);
118}
119
120class NotImplementedError extends Error {
121 constructor(plural: string, slugs: string[]) {

Callers 2

lighthouseGroupRefsFunction · 0.85
createCategoriesFunction · 0.85

Calls 1

extractGroupSlugsFunction · 0.90

Tested by

no test coverage detected