test: avoid bundled discovery in disabled plugin test (#73235) (thanks @zqchris)

This commit is contained in:
Peter Steinberger
2026-04-28 20:41:54 +01:00
parent b8f071a139
commit 18990f4fea

View File

@@ -5528,7 +5528,7 @@ module.exports = { id: "throws-after-import", register() {} };`,
});
it("respects explicit disable in config", () => {
process.env.OPENCLAW_BUNDLED_PLUGINS_DIR = "/nonexistent/bundled/plugins";
useNoBundledPlugins();
const plugin = writePlugin({
id: "config-disable",
body: `module.exports = { id: "config-disable", register() {} };`,