Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Client {
}

close() {
this.client.close();
return this.client.close();
}
Comment on lines 51 to 53
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding a Jest test that asserts client.close() returns a Promise (and can be awaited). The existing tests await client.close() would still pass when close() returned undefined, so they wouldn't catch a regression of this bug fix.

Copilot uses AI. Check for mistakes.

static setLogHandler(params) {
Expand Down
Loading