Skip to content

Commit

Permalink
test(sleep): add istanbul ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
raschan committed Aug 24, 2021
1 parent e4b92c7 commit 76b0cb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/functions/sleep.function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> {
return new Promise<void>(resolve => setTimeout(resolve, ms));
}

0 comments on commit 76b0cb6

Please sign in to comment.