mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 15:30:41 +09:00
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:
1 parent
9ab36151bd
commit
6f70ccbf85
5 files changed
+22
-2
No files matched your search
+1
-1
@@ -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"]);
|
||||
|
||||
Reference in new issue
Block a user