@asaidimu/hestia-mock 1.16.0 → 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 +1 -1
- package/index.cjs.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/package.json +2 -2
package/index.mjs
CHANGED
|
@@ -1696,7 +1696,6 @@ function notificationHandlers(deps) {
|
|
|
1696
1696
|
data: payload["data"] ?? {},
|
|
1697
1697
|
actions: payload["actions"] ?? [],
|
|
1698
1698
|
read: false,
|
|
1699
|
-
created_at: Date.now(),
|
|
1700
1699
|
expires_at: payload["expires_at"] ?? null
|
|
1701
1700
|
});
|
|
1702
1701
|
await tables.notifications.put(doc);
|
|
@@ -3987,6 +3986,7 @@ async function createMockHestia(options = {}) {
|
|
|
3987
3986
|
transport,
|
|
3988
3987
|
server,
|
|
3989
3988
|
destroy: async () => {
|
|
3989
|
+
await client.close();
|
|
3990
3990
|
await server.close();
|
|
3991
3991
|
}
|
|
3992
3992
|
};
|