File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
genkit-tools/cli/tests/utils Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -79,9 +79,9 @@ describe('spawn-config', () => {
7979 mockLogPath
8080 ) ;
8181
82- expect ( config . command ) . toBe ( 'C:\\Program Files\\nodejs\\node.exe' ) ;
82+ expect ( config . command ) . toBe ( '" C:\\Program Files\\nodejs\\node.exe" ' ) ;
8383 expect ( config . args ) . toEqual ( [
84- 'C:\\Users\\dev\\AppData\\Roaming\\npm\\node_modules\\genkit-cli\\dist\\bin\\genkit.js' ,
84+ '" C:\\Users\\dev\\AppData\\Roaming\\npm\\node_modules\\genkit-cli\\dist\\bin\\genkit.js" ' ,
8585 SERVER_HARNESS_COMMAND ,
8686 '4000' ,
8787 '/path/to/devui.log' ,
@@ -180,7 +180,7 @@ describe('spawn-config', () => {
180180 mockLogPath
181181 ) ;
182182
183- expect ( config . command ) . toBe ( 'C:\\Program Files\\Bun\\bun.exe' ) ;
183+ expect ( config . command ) . toBe ( '" C:\\Program Files\\Bun\\bun.exe" ' ) ;
184184 expect ( config . options . shell ) . toBe ( true ) ;
185185 } ) ;
186186 } ) ;
@@ -227,7 +227,7 @@ describe('spawn-config', () => {
227227 mockLogPath
228228 ) ;
229229
230- expect ( config . command ) . toBe ( 'C:\\Tools\\genkit.exe' ) ;
230+ expect ( config . command ) . toBe ( '" C:\\Tools\\genkit.exe" ' ) ;
231231 expect ( config . options . shell ) . toBe ( true ) ;
232232 } ) ;
233233
You can’t perform that action at this time.
0 commit comments