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
@@ -154,7 +154,7 @@ describe("host/create_scenario", function() {
await fs.cp(scenario, freeplay, { recursive: true });
pluginInfos = await lib.loadPluginInfos(new Map([
["research_sync", path.resolve("plugins/research_sync")],
["global_chat", path.resolve("plugins/global_chat")],
["test_plugin_no_module", path.resolve("test/file/test_plugin_no_module")],
]));
lib.addPluginConfigFields(pluginInfos);
hostConfig = new lib.HostConfig("host", { "host.factorio_directory": factorioDir });