mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 23:30:41 +09:00
Fix instance deleted status not being sent out
This commit is contained in:
1 parent
7a49e8aa15
commit
f37c387d52
3 files changed
+6
-5
No files matched your search
@@ -501,9 +501,10 @@ describe("Integration of Clusterio", function() {
|
||||
|
||||
describe("instanceUpdateEventHandler()", function() {
|
||||
it("should have triggered for the previous instance status updates", function() {
|
||||
let statusesToCheck = new Set(
|
||||
["unassigned", "stopped", "creating_save", "exporting_data", "starting", "running", "stopping"]
|
||||
);
|
||||
let statusesToCheck = new Set([
|
||||
"unassigned", "stopped", "creating_save", "exporting_data",
|
||||
"starting", "running", "stopping", "deleted",
|
||||
]);
|
||||
let statusesNotSeen = new Set(statusesToCheck);
|
||||
|
||||
for (let update of getControl().instanceUpdates) {
|
||||
|
||||
Reference in new issue
Block a user