mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 01:30:21 +00:00
test: debrand debounce and acp lifecycle fixtures
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user