Skip to content

Commit 320d4b3

Browse files
committed
chore: add initial test for NodeHttp2Handler
1 parent d155f66 commit 320d4b3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { NodeHttp2Handler } from "./node-http2-handler";
2+
3+
describe("NodeHttp2Handler", () => {
4+
describe("connectionPool", () => {
5+
it("is empty on initialization", () => {
6+
const nodeH2Handler = new NodeHttp2Handler();
7+
// @ts-ignore: access private property
8+
expect(nodeH2Handler.connectionPool.size).toBe(0);
9+
});
10+
});
11+
});

0 commit comments

Comments
 (0)