apparently I was doing array bracket spacing wrong

This commit is contained in:
David Baker 2019-07-11 14:44:45 +01:00
parent 3ab5acde9d
commit 6b815327a0

View file

@ -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();
});
});