test(doctor): preserve bundled discovery literal type

This commit is contained in:
Peter Steinberger
2026-05-04 22:48:57 +01:00
parent b2096d19ec
commit 369d83f04c

View File

@@ -132,7 +132,7 @@ describe("collectPluginToolAllowlistWarnings", () => {
{ name: "default", plugins: { allow: ["telegram"] } },
{
name: "explicit allowlist",
plugins: { allow: ["telegram"], bundledDiscovery: "allowlist" },
plugins: { allow: ["telegram"], bundledDiscovery: "allowlist" as const },
},
])(
"does not warn when bundled provider discovery follows the allowlist ($name)",