Fix poolifier benchmarks exit
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 24 Oct 2022 10:49:30 +0000 (12:49 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 24 Oct 2022 10:49:30 +0000 (12:49 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
benchmarks/internal/bench.js

index faf093936a9fedf099607e17ca002310f108ef1d..e88f40cf9334f5daf0ed32fb1c525c9939d7ede5 100644 (file)
@@ -101,3 +101,8 @@ Benchmark.suite(
     details: true
   })
 )
+  .then(() => {
+    // eslint-disable-next-line n/no-process-exit
+    return process.exit()
+  })
+  .catch(err => console.error(err))