Add a test plugin without a module for the host tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Opus 5.5 committed 2026-10-28 23:29:50 +00:00
1 parent 9ab36151bd
commit 6f70ccbf85
5 files changed
+22 -2

No files matched your search

+1 -1
View File
@@ -241,7 +241,7 @@ describe("host/patch", function() {
});
it("should skip plugins without a module", async function() {
const pluginInfos = await lib.loadPluginInfos(
new Map([["global_chat", path.resolve("plugins/global_chat")]])
new Map([["test_plugin_no_module", path.resolve("test/file/test_plugin_no_module")]])
);
const modules = await patch.loadModules(pluginInfos);
assert.deepEqual([...modules.keys()], ["clusterio"]);