mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 15:24:52 +09:00
Separate roles to their own file
This commit is contained in:
13 files changed
+125
-94
No files matched your search
@@ -507,10 +507,9 @@ describe("lib/datastore", function() {
|
||||
["save", new Map([...datastoreProvider.value.entries()].filter((v, k) => k !== "foo"))]
|
||||
);
|
||||
});
|
||||
it("does not break when the key does not exist", function() {
|
||||
it("does nothing when the key does not exist", function() {
|
||||
datastore.delete("test");
|
||||
assert.equal(eventsRaised.length, 1);
|
||||
assert.deepEqual(eventsRaised[0], [["test", undefined, true]]);
|
||||
assert.equal(eventsRaised.length, 0);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user