test: keep web provider artifact coverage manifest-only

This commit is contained in:
Peter Steinberger
2026-04-08 13:58:27 +01:00
parent 88282f7b23
commit a5515db1e8
2 changed files with 21 additions and 20 deletions

View File

@@ -166,3 +166,11 @@ export const BUNDLED_AUTO_ENABLE_PROVIDER_PLUGIN_IDS = Object.fromEntries(
]),
).toSorted(([left], [right]) => left.localeCompare(right)),
) as Readonly<Record<string, string>>;
export function resolveBundledContractSnapshotPluginIds(
key: keyof Omit<BundledPluginContractSnapshot, "pluginId">,
): string[] {
return BUNDLED_PLUGIN_CONTRACT_SNAPSHOTS.filter((entry) => entry[key].length > 0)
.map((entry) => entry.pluginId)
.toSorted((left, right) => left.localeCompare(right));
}