1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-12-02 21:22:41 +03:00

transform-async-to-promises: get rid of bluebird

This commit is contained in:
Michael Telatynski
2019-11-04 12:46:28 +00:00
parent eab6ffe7db
commit 10e1d9093e
10 changed files with 38 additions and 55 deletions

View File

@@ -1,7 +1,5 @@
"use strict";
import Promise from 'bluebird';
/**
* Perform common actions before each test case, e.g. printing the test case
* name to stdout.
@@ -58,3 +56,5 @@ export function deleteIndexedDB(dbName) {
throw e;
});
}
export const sleep = (ms) => new Promise((resolve) => { setTimeout(resolve, ms); });