mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 14:38:21 +00:00
add delay
This commit is contained in:
@@ -103,7 +103,7 @@ describe('InteractiveAuthDialog', function() {
|
|||||||
}));
|
}));
|
||||||
// let the request complete
|
// let the request complete
|
||||||
return sleep(1);
|
return sleep(1);
|
||||||
}).then(() => {
|
}).then(sleep(1)).then(() => {
|
||||||
expect(onFinished).toBeCalledTimes(1);
|
expect(onFinished).toBeCalledTimes(1);
|
||||||
expect(onFinished).toBeCalledWith(true, {a: 1});
|
expect(onFinished).toBeCalledWith(true, {a: 1});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user