@@ -204,7 +204,7 @@ describe('test/stop.test.ts', () => {
204204 beforeEach ( async ( ) => {
205205 await cleanup ( fixturePath ) ;
206206 app = coffee . fork ( eggBin , [ 'start' , '--workers=2' , '--title=example' , fixturePath ] ) as Coffee ;
207- // app.debug();
207+ app . debug ( ) ;
208208 app . expect ( 'code' , 0 ) ;
209209
210210 app2 = coffee . fork ( eggBin , [ 'start' , '--workers=2' , '--title=test' , '--port=7002' , fixturePath ] ) as Coffee ;
@@ -213,14 +213,14 @@ describe('test/stop.test.ts', () => {
213213 await scheduler . wait ( waitTime ) ;
214214
215215 assert . equal ( replaceWeakRefMessage ( app . stderr ) , '' ) ;
216- assert ( app . stdout . match ( / c u s t o m - f r a m e w o r k s t a r t e d o n h t t p : \/ \/ 1 2 7 \. 0 \. 0 \. 1 : 7 0 0 1 / ) ) ;
216+ assert . match ( app . stdout , / c u s t o m - f r a m e w o r k s t a r t e d o n h t t p : \/ \/ 1 2 7 \. 0 \. 0 \. 1 : 7 0 0 1 / ) ;
217217 const result = await request ( 'http://127.0.0.1:7001' ) ;
218- assert ( result . data . toString ( ) === 'hi, egg' ) ;
218+ assert . equal ( result . data . toString ( ) , 'hi, egg' ) ;
219219
220220 assert . equal ( replaceWeakRefMessage ( app2 . stderr ) , '' ) ;
221- assert ( app2 . stdout . match ( / c u s t o m - f r a m e w o r k s t a r t e d o n h t t p : \/ \/ 1 2 7 \. 0 \. 0 \. 1 : 7 0 0 2 / ) ) ;
221+ assert . match ( app2 . stdout , / c u s t o m - f r a m e w o r k s t a r t e d o n h t t p : \/ \/ 1 2 7 \. 0 \. 0 \. 1 : 7 0 0 2 / ) ;
222222 const result2 = await request ( 'http://127.0.0.1:7002' ) ;
223- assert ( result2 . data . toString ( ) === 'hi, egg' ) ;
223+ assert . equal ( result2 . data . toString ( ) , 'hi, egg' ) ;
224224 } ) ;
225225
226226 afterEach ( async ( ) => {
0 commit comments