File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1450,7 +1450,7 @@ describe('CliRepl', function () {
14501450 cliRepl . config . logRetentionDays = testRetentionDays ;
14511451 await cliRepl . start ( await testServer . connectionString ( ) , { } ) ;
14521452
1453- expect ( cliRepl . getConfig ( 'logRetentionDays' ) ) . equals (
1453+ expect ( await cliRepl . getConfig ( 'logRetentionDays' ) ) . equals (
14541454 testRetentionDays
14551455 ) ;
14561456 expect ( cliRepl . logManager ?. _options . retentionDays ) . equals (
Original file line number Diff line number Diff line change @@ -1722,7 +1722,9 @@ describe('e2e', function () {
17221722 const globalConfig = path . join ( homedir , 'globalconfig.conf' ) ;
17231723 await fs . writeFile (
17241724 globalConfig ,
1725- `mongosh:\n logLocation: "${ customLogDir . path } "\n logRetentionDays: ${ retentionDays } `
1725+ `mongosh:\n logLocation: ${ JSON . stringify (
1726+ customLogDir . path
1727+ ) } \n logRetentionDays: ${ retentionDays } `
17261728 ) ;
17271729
17281730 expect ( await getFilesState ( paths ) ) . equals ( '1111111111' ) ;
You can’t perform that action at this time.
0 commit comments