mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-23 00:13:13 +09:00
Add unit tests
This commit is contained in:
3 files changed
+649
-2
No files matched your search
+2
-2
@@ -182,8 +182,8 @@ class MockController {
|
||||
["test", ControllerUser.fromJSON({ name: "test", roles: [0, 1] }, this.userManager)],
|
||||
["player", ControllerUser.fromJSON({ name: "player", roles: [1] }, this.userManager)],
|
||||
]);
|
||||
this.instances = new lib.Datastore();
|
||||
this.hosts = new lib.Datastore();
|
||||
this.instances = new lib.KeyValueDatastore();
|
||||
this.hosts = new lib.KeyValueDatastore();
|
||||
this.handles = new Map();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user