Skip to content

Commit a265439

Browse files
committed
fix(tests): use await on getting config
1 parent 6d8a794 commit a265439

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1464,7 +1464,7 @@ describe('CliRepl', function () {
14641464
cliRepl.config.logMaxFileCount = testMaxFileCount;
14651465
await cliRepl.start(await testServer.connectionString(), {});
14661466

1467-
expect(cliRepl.getConfig('logMaxFileCount')).equals(
1467+
expect(await cliRepl.getConfig('logMaxFileCount')).equals(
14681468
testMaxFileCount
14691469
);
14701470
expect(cliRepl.logManager?._options.maxLogFileCount).equals(

0 commit comments

Comments
 (0)