@@ -1519,19 +1519,21 @@ describe('CliRepl', function () {
15191519 expect ( totalEventsTracked ) . to . equal ( 4 ) ;
15201520 } ) ;
15211521
1522- it ( 'uses the disable logging setting' , function ( ) {
1523- cliReplOptions . disableLogging = true ;
1524- cliRepl = new CliRepl ( cliReplOptions ) ;
1522+ describe ( 'logging settings' , function ( ) {
1523+ it ( 'can use the disable logging' , function ( ) {
1524+ cliReplOptions . disableLogging = true ;
1525+ cliRepl = new CliRepl ( cliReplOptions ) ;
15251526
1526- expect ( cliRepl . logWriter ?. isDisabled ) . equals ( true ) ;
1527- } ) ;
1527+ expect ( cliRepl . logWriter ?. isDisabled ) . equals ( true ) ;
1528+ } ) ;
15281529
1529- it ( 'can set the log location' , function ( ) {
1530- cliReplOptions . logLocation = './test/path' ;
1531- cliRepl = new CliRepl ( cliReplOptions ) ;
1532- expect ( cliRepl . logWriter ?. logFilePath ) . equals (
1533- cliReplOptions . logLocation
1534- ) ;
1530+ it ( 'can set the log location' , function ( ) {
1531+ cliReplOptions . logLocation = './test/path' ;
1532+ cliRepl = new CliRepl ( cliReplOptions ) ;
1533+ expect ( cliRepl . logWriter ?. logFilePath ) . equals (
1534+ cliReplOptions . logLocation
1535+ ) ;
1536+ } ) ;
15351537 } ) ;
15361538
15371539 it ( 'sends out telemetry data for command line scripts' , async function ( ) {
0 commit comments