Selaa lähdekoodia

Removed unnecesary `async`.

Eugene Lazutkin 3 vuotta sitten
vanhempi
commit
006a65d743
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 {