startCall: wait for startOutgoingDirectCall before updating lobby
This commit is contained in:
parent
b066d04817
commit
bb250d4fb5
2 changed files with 3 additions and 3 deletions
|
@ -1904,9 +1904,9 @@ describe('calling duck', () => {
|
|||
sinon.assert.notCalled(this.callingStartOutgoingDirectCall);
|
||||
});
|
||||
|
||||
it('saves direct calls and makes them active', () => {
|
||||
it('saves direct calls and makes them active', async () => {
|
||||
const dispatch = sinon.spy();
|
||||
startCall({
|
||||
await startCall({
|
||||
callMode: CallMode.Direct,
|
||||
conversationId: 'fake-conversation-id',
|
||||
hasLocalAudio: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue