mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 23:30:41 +09:00
Port ctl package to TypeScript
This commit is contained in:
1 parent
5ec7c9f99c
commit
ec0fded0cc
6 files changed
+383
-244
No files matched your search
@@ -1,8 +0,0 @@
|
||||
"use strict";
|
||||
const assert = require("assert").strict;
|
||||
|
||||
const clusterioctl = require("@clusterio/ctl/ctl.js");
|
||||
|
||||
|
||||
describe("clusterioctl", function() {
|
||||
});
|
||||
@@ -821,7 +821,7 @@ describe("Integration of Clusterio", function() {
|
||||
let modPacks = await getControl().send(new lib.ModPackListRequest());
|
||||
let modPack = modPacks.find(entry => entry.name === "full-pack");
|
||||
assert(modPack, "created mod pack not found");
|
||||
let reference = lib.ModPack.fromJSON({});
|
||||
let reference = lib.ModPack.fromJSON({ factorio_version: "0.17.59" });
|
||||
reference.id = modPack.id;
|
||||
reference.name = "full-pack";
|
||||
reference.description = "Description";
|
||||
|
||||
Reference in new issue
Block a user