processes() fix calculation (windows)

This commit is contained in:
Sebastian Hildebrandt
2022-01-19 16:50:12 +01:00
parent 4e580fac16
commit 75fb6e7525
5 changed files with 16 additions and 10 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ const testWithTimeout = async (fn) => {
(async () => {
const timeout = setTimeout(() => {
reject('Test Timeout');
}, 40000);
}, 60000);
const result = await fn();
clearTimeout(timeout);
return resolve(result);