Skip to content

Commit c246947

Browse files
committed
fix(tests): use a promise for getting config
1 parent 141ae65 commit c246947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli-repl/src/cli-repl.spec.ts

+1-1
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)