diff --git a/test/autobahn/client.js b/test/autobahn/client.js index 41bf1d61063..53bc17e722c 100644 --- a/test/autobahn/client.js +++ b/test/autobahn/client.js @@ -12,6 +12,7 @@ function nextTest () { if (currentTest > testCount) { ws = new WebSocket(`${autobahnFuzzingserverUrl}/updateReports?agent=undici`) + ws.addEventListener('close', () => require('./report')) return }