@asaidimu/hestia-mock 1.16.1 → 1.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs CHANGED
@@ -1697,7 +1697,6 @@ function notificationHandlers(deps) {
1697
1697
  data: payload["data"] ?? {},
1698
1698
  actions: payload["actions"] ?? [],
1699
1699
  read: false,
1700
- created_at: Date.now(),
1701
1700
  expires_at: payload["expires_at"] ?? null
1702
1701
  });
1703
1702
  await tables.notifications.put(doc);
@@ -3988,6 +3987,7 @@ async function createMockHestia(options = {}) {
3988
3987
  transport,
3989
3988
  server,
3990
3989
  destroy: async () => {
3990
+ await client.close();
3991
3991
  await server.close();
3992
3992
  }
3993
3993
  };