( plugin: Pick<PluginConfig, 'groups' | 'context'>, )
| 50 | export const mergeLighthouseCategories = lighthouseCategories; |
| 51 | |
| 52 | function createCategories( |
| 53 | plugin: Pick<PluginConfig, 'groups' | 'context'>, |
| 54 | ): CategoryConfig[] { |
| 55 | const context = validate(pluginUrlContextSchema, plugin.context); |
| 56 | return lighthouseGroupSlugs(plugin).map(slug => |
| 57 | createAggregatedCategory(slug, context), |
| 58 | ); |
| 59 | } |
| 60 | |
| 61 | function expandCategories( |
| 62 | plugin: Pick<PluginConfig, 'context'>, |
no test coverage detected