Skip to content

Commit 467c0c2

Browse files
committed
chore: more prefault over default
1 parent a55f3aa commit 467c0c2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/integration-tests/stateManagementStreamableHttp.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ describe('Streamable HTTP Transport Session Management', () => {
5656
'greet',
5757
'A simple greeting tool',
5858
{
59-
name: z.string().describe('Name to greet').default('World')
59+
name: z.string().describe('Name to greet').prefault('World')
6060
},
6161
async ({ name }) => {
6262
return {

src/integration-tests/taskResumability.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('Transport resumability', () => {
2828
'send-notification',
2929
'Sends a single notification',
3030
{
31-
message: z.string().describe('Message to send').default('Test notification')
31+
message: z.string().describe('Message to send').prefault('Test notification')
3232
},
3333
async ({ message }, { sendNotification }) => {
3434
// Send notification immediately
@@ -51,8 +51,8 @@ describe('Transport resumability', () => {
5151
'run-notifications',
5252
'Sends multiple notifications over time',
5353
{
54-
count: z.number().describe('Number of notifications to send').default(10),
55-
interval: z.number().describe('Interval between notifications in ms').default(50)
54+
count: z.number().describe('Number of notifications to send').prefault(10),
55+
interval: z.number().describe('Interval between notifications in ms').prefault(50)
5656
},
5757
async ({ count, interval }, { sendNotification }) => {
5858
// Send notifications at specified intervals

0 commit comments

Comments
 (0)