Delete Account unit tests: fixed warnings, added test for error notifications

This commit is contained in:
gianantoniopini
2021-05-18 13:41:38 +02:00
parent a8cf553217
commit 53d0e17865
2 changed files with 80 additions and 51 deletions

View File

@ -137,6 +137,5 @@ export const b64toBlob = (b64Data, contentType = '', sliceSize = 512) => {
return blob;
};
export const delay = async (milliseconds) => {
await new Promise((resolve) => setTimeout(resolve, milliseconds));
};
export const delay = (milliseconds) =>
new Promise((resolve) => setTimeout(resolve, milliseconds));