mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
add delay
This commit is contained in:
parent
a2246374f1
commit
b9e22f8141
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ describe('InteractiveAuthDialog', function() {
|
|||
}));
|
||||
// let the request complete
|
||||
return sleep(1);
|
||||
}).then(() => {
|
||||
}).then(sleep(1)).then(() => {
|
||||
expect(onFinished).toBeCalledTimes(1);
|
||||
expect(onFinished).toBeCalledWith(true, {a: 1});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue