Add unit tests

This commit is contained in:
Cooldude2606 committed 2024-05-24 22:10:04 +01:00
1 parent d696b8b52c
commit eb658f86c0
3 files changed
+649 -2

No files matched your search

+1
View File
@@ -240,6 +240,7 @@ export class SubscribableDatastore<
// Set the value in the datastore, be careful of race conditions if you await any functions before calling set
set(value: V) {
this.data.set(value.id, value);
value.updatedAtMs = Date.now();
this.touch([value]);
}