X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=benchmark-utils.mjs;h=59521b614ebee8564dd93e258bac032bba210ddb;hb=3d3dae57e2b472d184b59e265e2236161456134c;hp=35515c5197f3c333db7286726a8907f2a97d28e7;hpb=9e6467bfb7bc5362bcac4ba0e00ab756c58702aa;p=benchmarks-js.git diff --git a/benchmark-utils.mjs b/benchmark-utils.mjs index 35515c5..59521b6 100644 --- a/benchmark-utils.mjs +++ b/benchmark-utils.mjs @@ -93,5 +93,5 @@ export function generateRandomObject ( * @returns */ export async function sleep (ms) { - return new Promise(resolve => setTimeout(resolve, ms)) + return await new Promise(resolve => setTimeout(resolve, ms)) }