Browse Source

use function over const lambda

pull/11301/head
Michael Telatynski 3 years ago
parent
commit
73990acf7a
  1. 4
      test/test-utils.js

4
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); });
}

Loading…
Cancel
Save