You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +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,
|
Matrix.SERVICE_TYPES.IM,
|
||||||
'https://imone.test',
|
'https://imone.test',
|
||||||
'a token token',
|
'a token token',
|
||||||
[ "http://example.com/one" ],
|
["http://example.com/one"],
|
||||||
)).toBeTruthy();
|
)).toBeTruthy();
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -132,7 +132,7 @@ describe('Terms', function() {
|
|||||||
Matrix.SERVICE_TYPES.IM,
|
Matrix.SERVICE_TYPES.IM,
|
||||||
'https://imone.test',
|
'https://imone.test',
|
||||||
'a token token',
|
'a token token',
|
||||||
[ "http://example.com/one", "http://example.com/two" ],
|
["http://example.com/one", "http://example.com/two"],
|
||||||
)).toBeTruthy();
|
)).toBeTruthy();
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -182,13 +182,13 @@ describe('Terms', function() {
|
|||||||
Matrix.SERVICE_TYPES.IM,
|
Matrix.SERVICE_TYPES.IM,
|
||||||
'https://imone.test',
|
'https://imone.test',
|
||||||
'a token token',
|
'a token token',
|
||||||
[ "http://example.com/one" ],
|
["http://example.com/one"],
|
||||||
)).toBeTruthy();
|
)).toBeTruthy();
|
||||||
expect(MatrixClientPeg.get().agreeToTerms.calledWith(
|
expect(MatrixClientPeg.get().agreeToTerms.calledWith(
|
||||||
Matrix.SERVICE_TYPES.IM,
|
Matrix.SERVICE_TYPES.IM,
|
||||||
'https://imtwo.test',
|
'https://imtwo.test',
|
||||||
'a token token',
|
'a token token',
|
||||||
[ "http://example.com/two" ],
|
["http://example.com/two"],
|
||||||
)).toBeTruthy();
|
)).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user