Skip to content

Commit

Permalink
fix: 🐛 add pending_events to SERVER response
Browse files Browse the repository at this point in the history
  • Loading branch information
iwpnd committed Dec 13, 2022
1 parent f4567d7 commit b557847
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/responses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ export type ServerResponse = ExtendResponse<{
read_only: boolean;
threads: number;
version: string;
pending_events: number;
};
}>;

Expand Down
1 change: 1 addition & 0 deletions src/tests/server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ describe('server', () => {
read_only: expect.any(Boolean) as boolean,
threads: expect.any(Number) as number,
version: expect.any(String) as string,
pending_events: expect.any(Number) as number,
},
};

Expand Down

0 comments on commit b557847

Please sign in to comment.