You've already forked element-web
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:
@@ -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); });
|
||||
|
||||
Reference in New Issue
Block a user