feat(ui): update ui style

This commit is contained in:
RhenCloud committed 2026-08-16 22:46:07 +08:00
1 parent ca6dfd3f64
commit 47d7c9105b
35 files changed
+1577 -591

No files matched your search

+2 -2
View File
@@ -31,7 +31,7 @@ describe("kvMessageTracker", () => {
expect(await tracker.get("missing", "channel-1")).toBeNull();
});
it("uses the msg:{eventId}:{targetId} key with a 7-day TTL", async () => {
it("uses the msg:{eventId}:{targetId} key with a 24h TTL", async () => {
const kv = createMockKV();
const keys = new Map<string, string>();
const ttls = new Map<string, number>();
@@ -46,7 +46,7 @@ describe("kvMessageTracker", () => {
const tracker = kvMessageTracker(kv);
await tracker.set("event-1", "target-1", "msg-7");
expect(keys.has("msg:event-1:target-1")).toBe(true);
expect(ttls.get("msg:event-1:target-1")).toBe(604800);
expect(ttls.get("msg:event-1:target-1")).toBe(86400);
});
it("deletes tracked entries", async () => {