test: debrand debounce and acp lifecycle fixtures

This commit is contained in:
Peter Steinberger
2026-03-27 22:03:51 +00:00
parent b95a81498f
commit c815bddce7
2 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ describe("createChannelInboundDebouncer", () => {
inbound: {
debounceMs: 10,
byChannel: {
slack: 25,
"demo-channel": 25,
},
},
},
@@ -40,7 +40,7 @@ describe("createChannelInboundDebouncer", () => {
const { debounceMs, debouncer } = createChannelInboundDebouncer<{ id: string }>({
cfg,
channel: "slack",
channel: "demo-channel",
buildKey: (item) => item.id,
onFlush: async (items) => {
flushed.push(items.map((entry) => entry.id));