@@ -86,12 +86,13 @@ describe("LighthouseMCPServer Integration", () => {
8686 const result = await registry . executeTool ( "lighthouse_create_dataset" , {
8787 name : "Integration Test Dataset" ,
8888 description : "Created during integration test" ,
89- files : [ testFilePath ] ,
89+ filePaths : [ testFilePath ] ,
9090 } ) ;
9191
9292 expect ( result . success ) . toBe ( true ) ;
9393 expect ( result . data ) . toBeDefined ( ) ;
94- expect ( ( result . data as any ) . id ) . toBeDefined ( ) ;
94+ expect ( ( result . data as any ) . dataset ) . toBeDefined ( ) ;
95+ expect ( ( result . data as any ) . dataset . id ) . toBeDefined ( ) ;
9596 } ) ;
9697
9798 it ( "should execute fetch tool after upload" , async ( ) => {
@@ -172,7 +173,7 @@ describe("LighthouseMCPServer Integration", () => {
172173 const datasetResult = await registry . executeTool ( "lighthouse_create_dataset" , {
173174 name : "E2E Test Dataset" ,
174175 description : "End-to-end test dataset" ,
175- files : [ file1 , file2 ] ,
176+ filePaths : [ file1 , file2 ] ,
176177 encrypt : true ,
177178 metadata : {
178179 author : "Test Suite" ,
@@ -182,7 +183,7 @@ describe("LighthouseMCPServer Integration", () => {
182183
183184 expect ( datasetResult . success ) . toBe ( true ) ;
184185
185- const dataset = datasetResult . data as any ;
186+ const dataset = ( datasetResult . data as any ) . dataset ;
186187 expect ( dataset . id ) . toBeDefined ( ) ;
187188 expect ( dataset . name ) . toBe ( "E2E Test Dataset" ) ;
188189 expect ( dataset . files ) . toHaveLength ( 2 ) ;
0 commit comments