@@ -58,7 +58,7 @@ describe("AI Director Tauri Commands", () => {
5858 it ( "should invoke Tauri command with video path and config" , async ( ) => {
5959 const videoPath = "/path/to/video.mp4"
6060 const config : AIDirectorConfig = {
61- performance_mode : "balanced " ,
61+ performance_mode : "Balanced " ,
6262 enable_audio_analysis : true ,
6363 enable_scene_detection : true ,
6464 enable_video_analysis : true ,
@@ -147,7 +147,7 @@ describe("AI Director Tauri Commands", () => {
147147 it ( "should invoke batch analysis with multiple files" , async ( ) => {
148148 const filePaths = [ "/video1.mp4" , "/video2.mp4" , "/video3.mp4" ]
149149 const config : AIDirectorConfig = {
150- performance_mode : "fast " ,
150+ performance_mode : "Fast " ,
151151 enable_audio_analysis : true ,
152152 enable_scene_detection : false ,
153153 enable_video_analysis : true ,
@@ -299,7 +299,7 @@ describe("AI Director Tauri Commands", () => {
299299 describe ( "aiDirectorValidateConfig" , ( ) => {
300300 it ( "should validate valid config" , async ( ) => {
301301 const config : AIDirectorConfig = {
302- performance_mode : "balanced " ,
302+ performance_mode : "Balanced " ,
303303 enable_audio_analysis : true ,
304304 enable_scene_detection : true ,
305305 enable_video_analysis : true ,
@@ -327,7 +327,7 @@ describe("AI Director Tauri Commands", () => {
327327
328328 it ( "should return warnings for potentially problematic config" , async ( ) => {
329329 const config : AIDirectorConfig = {
330- performance_mode : "quality " ,
330+ performance_mode : "Quality " ,
331331 enable_audio_analysis : true ,
332332 enable_scene_detection : true ,
333333 enable_video_analysis : true ,
@@ -354,7 +354,7 @@ describe("AI Director Tauri Commands", () => {
354354
355355 it ( "should return errors for invalid config" , async ( ) => {
356356 const config : AIDirectorConfig = {
357- performance_mode : "balanced " ,
357+ performance_mode : "Balanced " ,
358358 enable_audio_analysis : false ,
359359 enable_scene_detection : false ,
360360 enable_video_analysis : false ,
@@ -445,7 +445,7 @@ describe("AI Director Tauri Commands", () => {
445445 enable_ffmpeg_analysis : true ,
446446 enable_montage_analysis : true ,
447447 enable_transcription : false ,
448- performance_mode : "balanced " as const ,
448+ performance_mode : "Balanced " as const ,
449449 }
450450
451451 mockInvoke . mockResolvedValueOnce ( { audio_data : "test" } )
@@ -471,7 +471,7 @@ describe("AI Director Tauri Commands", () => {
471471 enable_ffmpeg_analysis : true ,
472472 enable_montage_analysis : true ,
473473 enable_transcription : false ,
474- performance_mode : "balanced " ,
474+ performance_mode : "Balanced " ,
475475 } ,
476476 } )
477477 } )
@@ -492,15 +492,15 @@ describe("AI Director Tauri Commands", () => {
492492 describe ( "unifiedAudioAnalyzeBatch" , ( ) => {
493493 it ( "should invoke batch audio analysis" , async ( ) => {
494494 const filePaths = [ "/video1.mp4" , "/video2.mp4" ]
495- const config = { performance_mode : "fast " as const }
495+ const config = { performance_mode : "Fast " as const }
496496
497497 mockInvoke . mockResolvedValueOnce ( [ { audio_data : "1" } , { audio_data : "2" } ] )
498498
499499 await unifiedAudioAnalyzeBatch ( filePaths , config )
500500
501501 expect ( mockInvoke ) . toHaveBeenCalledWith ( "unified_audio_analyze_batch" , {
502502 filePaths,
503- config : { performance_mode : "fast " } ,
503+ config : { performance_mode : "Fast " } ,
504504 } )
505505 } )
506506
@@ -513,7 +513,7 @@ describe("AI Director Tauri Commands", () => {
513513
514514 expect ( mockInvoke ) . toHaveBeenCalledWith ( "unified_audio_analyze_batch" , {
515515 filePaths,
516- config : { performance_mode : "fast " } ,
516+ config : { performance_mode : "Fast " } ,
517517 } )
518518 } )
519519 } )
0 commit comments