Skip to content

Commit

Permalink
fix(tests): use await on getting config
Browse files Browse the repository at this point in the history
  • Loading branch information
gagik committed Feb 10, 2025
1 parent 6d8a794 commit a265439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli-repl/src/cli-repl.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1464,7 +1464,7 @@ describe('CliRepl', function () {
cliRepl.config.logMaxFileCount = testMaxFileCount;
await cliRepl.start(await testServer.connectionString(), {});

expect(cliRepl.getConfig('logMaxFileCount')).equals(
expect(await cliRepl.getConfig('logMaxFileCount')).equals(
testMaxFileCount
);
expect(cliRepl.logManager?._options.maxLogFileCount).equals(
Expand Down

0 comments on commit a265439

Please sign in to comment.