From 00e1fa89317212d60c584ea70b4c6a001501d6ed Mon Sep 17 00:00:00 2001 From: Harry Zhang Date: Mon, 14 Oct 2024 12:10:35 +1100 Subject: [PATCH] fix tests --- tests/client.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/client.js b/tests/client.js index 623af65..7cce400 100644 --- a/tests/client.js +++ b/tests/client.js @@ -126,6 +126,8 @@ tap.test("Server", async function (suite) //Wait 1 seconds await sleep(1000); + + test.end(); }); await suite.test("invalidurl", async function (test) @@ -136,6 +138,8 @@ tap.test("Server", async function (suite) //Connect let errorCode = connection.connect("invalid.url", 1937, "test"); test.equal(errorCode, RTMPServer.NetConnectionErrorCode.FailedToResolveURL); + + test.end(); }); await suite.test("peerclosed", async function (test)