Skip to content

Commit

Permalink
tweak naming
Browse files Browse the repository at this point in the history
  • Loading branch information
pokey committed Jul 13, 2024
1 parent 680745f commit b81336a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/common/src/util/sleep.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
* on failure, and this function will sleep the same amount of time every time
* the test is retried. Prefer {@link sleepWithBackoff} instead.
*/
export default function sleep(timeout: number): Promise<void> {
return new Promise((resolve) => setTimeout(resolve, timeout));
export default function sleep(ms: number): Promise<void> {
return new Promise((resolve) => setTimeout(resolve, ms));
}

0 comments on commit b81336a

Please sign in to comment.