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

@ -62,7 +62,7 @@ beforeEach(async () => {
describe("resetConfiguredBindingTargetInPlace", () => {
it("does not resolve configured bindings when ACP metadata already exists", async () => {
const sessionKey = "agent:claude:acp:binding:discord:default:9373ab192b2317f4";
const sessionKey = "agent:claude:acp:binding:demo-binding:default:9373ab192b2317f4";
sessionMetaMocks.readAcpSessionEntry.mockReturnValue({
acp: {
agent: "claude",

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));