0bd5a54c76
* Move tests to individual folders * Moved e2e tests to e2e folder, fixed lint issues * Lint fix
16 lines
341 B
JavaScript
16 lines
341 B
JavaScript
// Copyright (c) 2015-2016 Yuya Ochiai
|
|
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
function asyncSleep(timeout) {
|
|
return new Promise((resolve) => {
|
|
setTimeout(() => {
|
|
resolve();
|
|
}, timeout);
|
|
});
|
|
}
|
|
|
|
module.exports = {
|
|
asyncSleep,
|
|
};
|