diff --git a/test/test-utils.js b/test/test-utils.js index 6e6738de..880dd772 100644 --- a/test/test-utils.js +++ b/test/test-utils.js @@ -57,4 +57,6 @@ export function deleteIndexedDB(dbName) { }); } -export const sleep = (ms) => new Promise((resolve) => { setTimeout(resolve, ms); }); +export function sleep(ms) { + return new Promise((resolve) => { setTimeout(resolve, ms); }); +}