add delay
parent
a2246374f1
commit
b9e22f8141
|
@ -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 New Issue