mirror of https://github.com/vector-im/riot-web
Put back both done's
mocha takes the exception arg and does the right thingpull/21833/head
parent
375ae8fb04
commit
23c38bd8a3
|
@ -113,6 +113,6 @@ describe('InteractiveAuthDialog', function () {
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
expect(onFinished.callCount).toEqual(1);
|
expect(onFinished.callCount).toEqual(1);
|
||||||
expect(onFinished.calledWithExactly(true, {a:1})).toBe(true);
|
expect(onFinished.calledWithExactly(true, {a:1})).toBe(true);
|
||||||
}).done(done);
|
}).done(done, done);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue