File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ export async function test(run, testState) {
3939 }
4040
4141 // Run a local server on some port
42+ console . error ( '[test] starting local server...' ) ;
4243 const server = createServer ( async ( req , res ) => {
4344 res . writeHead ( 200 , { 'Content-Type' : 'application/json; charset=utf-8' } ) ;
4445 res . write (
@@ -50,6 +51,7 @@ export async function test(run, testState) {
5051 } ) . listen ( port ) ;
5152
5253 // Wait until the server is ready
54+ console . error ( '[test] waiting for server to start...' ) ;
5355 let ready = false ;
5456 const url = FETCH_URL + ( port ? ':' + port : '' ) ;
5557 while ( ! ready ) {
@@ -61,6 +63,7 @@ export async function test(run, testState) {
6163 }
6264 }
6365
66+ console . error ( '[test] server started, running...' ) ;
6467 const { stdout, stderr } = await run ( ) ;
6568 strictEqual ( stderr , '' ) ;
6669 strictEqual ( stdout . trim ( ) , FETCH_URL ) ;
You can’t perform that action at this time.
0 commit comments