You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
apparently I was doing array bracket spacing wrong
This commit is contained in:
@ -97,7 +97,7 @@ describe('Terms', function() {
|
||||
Matrix.SERVICE_TYPES.IM,
|
||||
'https://imone.test',
|
||||
'a token token',
|
||||
[ "http://example.com/one" ],
|
||||
["http://example.com/one"],
|
||||
)).toBeTruthy();
|
||||
});
|
||||
|
||||
@ -132,7 +132,7 @@ describe('Terms', function() {
|
||||
Matrix.SERVICE_TYPES.IM,
|
||||
'https://imone.test',
|
||||
'a token token',
|
||||
[ "http://example.com/one", "http://example.com/two" ],
|
||||
["http://example.com/one", "http://example.com/two"],
|
||||
)).toBeTruthy();
|
||||
});
|
||||
|
||||
@ -182,13 +182,13 @@ describe('Terms', function() {
|
||||
Matrix.SERVICE_TYPES.IM,
|
||||
'https://imone.test',
|
||||
'a token token',
|
||||
[ "http://example.com/one" ],
|
||||
["http://example.com/one"],
|
||||
)).toBeTruthy();
|
||||
expect(MatrixClientPeg.get().agreeToTerms.calledWith(
|
||||
Matrix.SERVICE_TYPES.IM,
|
||||
'https://imtwo.test',
|
||||
'a token token',
|
||||
[ "http://example.com/two" ],
|
||||
["http://example.com/two"],
|
||||
)).toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user