Parcourir la source

Removed unnecesary `async`.

Eugene Lazutkin il y a 3 ans
Parent
commit
006a65d743
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      tests/helpers.mjs

+ 1 - 1
tests/helpers.mjs

@@ -39,7 +39,7 @@ export const writeToArray = array => new Writable({
   }
 });
 
-export const delay = (fn, ms = 20) => async (...args) =>
+export const delay = (fn, ms = 20) => (...args) =>
   new Promise((resolve, reject) => {
     setTimeout(() => {
       try {