test: clarify matrix idb database assertion · openclaw/openclaw@f45b65c
steipete
·
2026-05-08
·
via Recent Commits to openclaw:main
File tree
extensions/matrix/src/matrix/sdk
| Original file line number | Diff line number | Diff line change |
|---|
@@ -79,7 +79,7 @@ describe("Matrix IndexedDB persistence", () => {
|
79 | 79 | expect(restoredRecords).toEqual([{ key: "room-1", value: { session: "abc123" } }]); |
80 | 80 | |
81 | 81 | const dbs = await indexedDB.databases(); |
82 | | -expect(dbs.some((entry) => entry.name === otherCryptoDatabaseName)).toBe(false); |
| 82 | +expect(dbs.map((entry) => entry.name)).not.toContain(otherCryptoDatabaseName); |
83 | 83 | }); |
84 | 84 | |
85 | 85 | it("returns false and logs a warning for malformed snapshots", async () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。