File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 100100 " ${workspaceRoot}/spec/**/*.js" ],
101101 "args" : [" --test-mode" ]
102102 },
103- {
104- "type" : " node" ,
105- "request" : " launch" ,
106- "name" : " Launch New React" ,
107- "cwd" : " ${workspaceRoot}/output" ,
108- "program" : " ${workspaceRoot}/packages/cli/bin/execute.js" ,
109- "console" : " externalTerminal" ,
110- "preLaunchTask" : " build" ,
111- "outFiles" : [" ${workspaceFolder}/**/*.js" ],
112- "args" : [
113- " new" ,
114- " reactproj" ,
115- " --framework=react"
116- ]
117- },
118103 {
119104 "type" : " node" ,
120105 "request" : " launch" ,
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ describe("Unit - start command", () => {
7777 expect ( Util . execSync ) . toHaveBeenCalledWith ( "npm start -- --port=3567" , { stdio : "inherit" , killSignal : "SIGINT" } ) ;
7878
7979 await startCmd . handler ( { port : 1234 , _ : [ "start" ] , $0 : "start" } ) ;
80- expect ( Util . execSync ) . toHaveBeenCalledWith ( "npm start -- --port=3567 " , { stdio : "inherit" , killSignal : "SIGINT" } ) ;
80+ expect ( Util . execSync ) . toHaveBeenCalledWith ( "npm start -- --port=1234 " , { stdio : "inherit" , killSignal : "SIGINT" } ) ;
8181
8282 expect ( Util . error ) . not . toHaveBeenCalled ( ) ;
8383 } ) ;
You can’t perform that action at this time.
0 commit comments