From 76b0cb62d535f9800bb5e8c32a40b1674c3acd27 Mon Sep 17 00:00:00 2001 From: Marcell Huszti Date: Tue, 3 Aug 2021 16:09:12 +0200 Subject: [PATCH] test(sleep): add istanbul ignore --- src/util/functions/sleep.function.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/functions/sleep.function.ts b/src/util/functions/sleep.function.ts index 75e9ca6..9163bea 100644 --- a/src/util/functions/sleep.function.ts +++ b/src/util/functions/sleep.function.ts @@ -3,6 +3,7 @@ * * @param {number} ms Waiting time in milliseconds. */ +// istanbul ignore next: no need to test export async function sleep(ms: number): Promise { return new Promise(resolve => setTimeout(resolve, ms)); }