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