You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-13 23:41:50 +03:00
Down to 7 test failures
This commit is contained in:
@ -154,10 +154,10 @@ describe('Terms', function() {
|
||||
|
||||
const interactionCallback = jest.fn().mockResolvedValue(["http://example.com/one", "http://example.com/two"]);
|
||||
await startTermsFlow([IM_SERVICE_ONE, IM_SERVICE_TWO], interactionCallback);
|
||||
// console.log("getTerms call 0", MatrixClientPeg.get().getTerms.getCall(0).args);
|
||||
// console.log("getTerms call 1", MatrixClientPeg.get().getTerms.getCall(1).args);
|
||||
// console.log("interactionCallback call", interactionCallback.getCall(0).args);
|
||||
// console.log("agreeToTerms call", MatrixClientPeg.get().agreeToTerms.getCall(0).args);
|
||||
console.log("getTerms call 0", MatrixClientPeg.get().getTerms.mock.calls[0]);
|
||||
console.log("getTerms call 1", MatrixClientPeg.get().getTerms.mock.calls[1]);
|
||||
console.log("interactionCallback call", interactionCallback.mock.calls[0]);
|
||||
console.log("agreeToTerms call", MatrixClientPeg.get().agreeToTerms.mock.calls[0]);
|
||||
|
||||
expect(interactionCallback).toBeCalledWith([
|
||||
{
|
||||
|
Reference in New Issue
Block a user