@@ -598,7 +598,9 @@ describe('TanStack Query React Client Generation', () => {
598598 const { QraftCommand } =
599599 await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
600600 const { plugin } = await import ( './plugin.js' ) ;
601- const command = new QraftCommand ( ) ;
601+ const command = new QraftCommand ( undefined , {
602+ defaultFileHeader : createFileHeader ( '@openapi-qraft/cli' ) ,
603+ } ) ;
602604 plugin . setupCommand ( command ) ;
603605
604606 await command . parseAsync ( [
@@ -645,7 +647,9 @@ describe('TanStack Query React Client Generation', () => {
645647 const { QraftCommand } =
646648 await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
647649 const { plugin } = await import ( './plugin.js' ) ;
648- const command = new QraftCommand ( ) ;
650+ const command = new QraftCommand ( undefined , {
651+ defaultFileHeader : createFileHeader ( '@openapi-qraft/cli' ) ,
652+ } ) ;
649653 plugin . setupCommand ( command ) ;
650654
651655 await command . parseAsync ( [
@@ -679,7 +683,9 @@ describe('TanStack Query React Client Generation', () => {
679683 const { QraftCommand } =
680684 await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
681685 const { plugin } = await import ( './plugin.js' ) ;
682- const command = new QraftCommand ( ) ;
686+ const command = new QraftCommand ( undefined , {
687+ defaultFileHeader : createFileHeader ( '@openapi-qraft/cli' ) ,
688+ } ) ;
683689 plugin . setupCommand ( command ) ;
684690
685691 await command . parseAsync ( [
0 commit comments