@@ -86,7 +86,7 @@ describe("cli helpers", () => {
8686 it ( "warns on unknown option" , ( ) => {
8787 const warn = vi . spyOn ( console , "warn" ) . mockImplementation ( ( ) => { } ) ;
8888 ( cli as any ) . parseArgs ( [ "node" , "cli" , "--unknown" ] ) ;
89- expect ( warn ) . toHaveBeenCalledWith ( "[git-json-resolver] Unknown option: --unknown" ) ;
89+ expect ( warn ) . toHaveBeenCalledWith ( "Unknown option: --unknown" ) ;
9090 } ) ;
9191 } ) ;
9292
@@ -102,9 +102,7 @@ describe("cli helpers", () => {
102102 ( cli as any ) . initConfig ( tmpDir ) ;
103103
104104 expect ( writeFileSync ) . toHaveBeenCalled ( ) ;
105- expect ( log ) . toHaveBeenCalledWith (
106- `[git-json-resolver] Created starter config at ${ configPath } ` ,
107- ) ;
105+ expect ( log ) . toHaveBeenCalledWith ( `Created starter config at ${ configPath } ` ) ;
108106 } ) ;
109107
110108 it ( "exits if config already exists" , ( ) => {
@@ -115,9 +113,7 @@ describe("cli helpers", () => {
115113 const error = vi . spyOn ( console , "error" ) . mockImplementation ( ( ) => { } ) ;
116114
117115 expect ( ( ) => ( cli as any ) . initConfig ( tmpDir ) ) . toThrow ( "exit" ) ;
118- expect ( error ) . toHaveBeenCalledWith (
119- `[git-json-resolver] Config file already exists: ${ configPath } ` ,
120- ) ;
116+ expect ( error ) . toHaveBeenCalledWith ( `Config file already exists: ${ configPath } ` ) ;
121117 expect ( exit ) . toHaveBeenCalledWith ( 1 ) ;
122118 } ) ;
123119 } ) ;
0 commit comments