Skip to content

Commit 724c73b

Browse files
committed
prettier fix
1 parent 37b9cf0 commit 724c73b

File tree

1 file changed

+8
-32
lines changed

1 file changed

+8
-32
lines changed

src/server/elicitation.test.ts

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ function testElicitationFlow(validatorProvider: typeof ajvProvider | typeof cfWo
3737
}
3838
);
3939

40-
const client = new Client(
41-
{ name: 'test-client', version: '1.0.0' },
42-
{ capabilities: { elicitation: {} }}
43-
);
40+
const client = new Client({ name: 'test-client', version: '1.0.0' }, { capabilities: { elicitation: {} } });
4441

4542
client.setRequestHandler(ElicitRequestSchema, _request => ({
4643
action: 'accept',
@@ -76,10 +73,7 @@ function testElicitationFlow(validatorProvider: typeof ajvProvider | typeof cfWo
7673
}
7774
);
7875

79-
const client = new Client(
80-
{ name: 'test-client', version: '1.0.0' },
81-
{ capabilities: { elicitation: {} } }
82-
);
76+
const client = new Client({ name: 'test-client', version: '1.0.0' }, { capabilities: { elicitation: {} } });
8377

8478
client.setRequestHandler(ElicitRequestSchema, _request => ({
8579
action: 'accept',
@@ -115,10 +109,7 @@ function testElicitationFlow(validatorProvider: typeof ajvProvider | typeof cfWo
115109
}
116110
);
117111

118-
const client = new Client(
119-
{ name: 'test-client', version: '1.0.0' },
120-
{ capabilities: { elicitation: {} } }
121-
);
112+
const client = new Client({ name: 'test-client', version: '1.0.0' }, { capabilities: { elicitation: {} } });
122113

123114
client.setRequestHandler(ElicitRequestSchema, _request => ({
124115
action: 'accept',
@@ -154,10 +145,7 @@ function testElicitationFlow(validatorProvider: typeof ajvProvider | typeof cfWo
154145
}
155146
);
156147

157-
const client = new Client(
158-
{ name: 'test-client', version: '1.0.0' },
159-
{ capabilities: { elicitation: {} } }
160-
);
148+
const client = new Client({ name: 'test-client', version: '1.0.0' }, { capabilities: { elicitation: {} } });
161149

162150
const userData = {
163151
name: 'Jane Smith',
@@ -212,10 +200,7 @@ function testElicitationFlow(validatorProvider: typeof ajvProvider | typeof cfWo
212200
}
213201
);
214202

215-
const client = new Client(
216-
{ name: 'test-client', version: '1.0.0' },
217-
{ capabilities: { elicitation: {} } }
218-
);
203+
const client = new Client({ name: 'test-client', version: '1.0.0' }, { capabilities: { elicitation: {} } });
219204

220205
client.setRequestHandler(ElicitRequestSchema, _request => ({
221206
action: 'accept',
@@ -252,10 +237,7 @@ function testElicitationFlow(validatorProvider: typeof ajvProvider | typeof cfWo
252237
}
253238
);
254239

255-
const client = new Client(
256-
{ name: 'test-client', version: '1.0.0' },
257-
{ capabilities: { elicitation: {} } }
258-
);
240+
const client = new Client({ name: 'test-client', version: '1.0.0' }, { capabilities: { elicitation: {} } });
259241

260242
client.setRequestHandler(ElicitRequestSchema, _request => ({
261243
action: 'accept',
@@ -292,10 +274,7 @@ function testElicitationFlow(validatorProvider: typeof ajvProvider | typeof cfWo
292274
}
293275
);
294276

295-
const client = new Client(
296-
{ name: 'test-client', version: '1.0.0' },
297-
{ capabilities: { elicitation: {} } }
298-
);
277+
const client = new Client({ name: 'test-client', version: '1.0.0' }, { capabilities: { elicitation: {} } });
299278

300279
client.setRequestHandler(ElicitRequestSchema, _request => ({
301280
action: 'accept',
@@ -328,10 +307,7 @@ function testElicitationFlow(validatorProvider: typeof ajvProvider | typeof cfWo
328307
}
329308
);
330309

331-
const client = new Client(
332-
{ name: 'test-client', version: '1.0.0' },
333-
{ capabilities: { elicitation: {} } }
334-
);
310+
const client = new Client({ name: 'test-client', version: '1.0.0' }, { capabilities: { elicitation: {} } });
335311

336312
client.setRequestHandler(ElicitRequestSchema, _request => ({
337313
action: 'accept',

0 commit comments

Comments
 (0)