Skip to content

Commit 501dc91

Browse files
committed
fix(pi): align notification destination contract test
1 parent 4d2b650 commit 501dc91

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.changeset/agent-notification-destinations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
"@outlit/cli": patch
3+
"@outlit/pi": patch
34
"@outlit/tools": patch
45
---
56

packages/pi/tests/extension.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ describe("createOutlitPiExtension", () => {
176176
) {
177177
expect(tool.parameters.required).toEqual(["title"])
178178
expect(Object.keys(tool.parameters.properties ?? {})).toEqual(
179-
expect.arrayContaining(["title", "markdown", "payload", "destinations"]),
179+
expect.arrayContaining(["title", "markdown", "payload", "destinationIds"]),
180180
)
181181
} else {
182182
throw new Error("Expected notification tool parameters to expose required fields")

0 commit comments

Comments
 (0)