File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -273,8 +273,7 @@ describe('Log', () => {
273273 expect ( logStub . calledTwice ) . to . be . true ;
274274 } ) ;
275275
276- // TODO: Fix failing text
277- it . skip ( 'should log "No server logs to display" and exit the process for error messages with NoServerlessRoutesError' , ( ) => {
276+ it ( 'should log "No server logs to display" and exit the process for error messages with NoServerlessRoutesError' , ( ) => {
278277 const isArrayStub = sandbox . stub ( ) . returns ( true ) ;
279278 const includesStub = sandbox . stub ( ) . returns ( true ) ;
280279 const mapStub = sandbox . stub ( ) . returns ( [ 'NoServerlessRoutesError' ] ) ;
@@ -287,8 +286,6 @@ describe('Log', () => {
287286
288287 sandbox . stub ( logInstance , 'log' ) . callsFake ( logStub ) ;
289288 sandbox . stub ( Array , 'isArray' ) . callsFake ( isArrayStub ) ;
290- sandbox . stub ( Array . prototype , 'includes' ) . callsFake ( includesStub ) ;
291- sandbox . stub ( Array . prototype , 'map' ) . callsFake ( mapStub ) ;
292289
293290 logInstance . showLogs ( event ) ;
294291 } ) ;
You can’t perform that action at this time.
0 commit comments