diff --git a/test/core/loadbalancer.test.ts b/test/core/loadbalancer.test.ts index d46a266..fbc1cc1 100644 --- a/test/core/loadbalancer.test.ts +++ b/test/core/loadbalancer.test.ts @@ -38,6 +38,9 @@ class MockConn implements Deno.Conn { upgrade(): Promise { return Promise.resolve(new Deno.FsFile(this.rid)) } + [Symbol.dispose](): void { + this.close() + } } Deno.test("LoadBalancer - Initialization", () => {