lint: Close function args on same line as final arg

This commit is contained in:
Richard Hansen 2022-02-21 00:53:03 -05:00
parent 37508403d8
commit daee90d2af
7 changed files with 10 additions and 25 deletions

View file

@ -64,9 +64,7 @@ describe('Plugins page', function () {
// Ensure it's a higher minor version IE 0.3.x as 0.2.x was installed
// Coverage for https://github.com/ether/etherpad-lite/issues/4536
await helper.waitForPromise(() => parseInt(helper.admin$(
'.ep_align .version',
)
await helper.waitForPromise(() => parseInt(helper.admin$('.ep_align .version')
.text()
.split('.')[1]) > minorVersionBefore, 60000, 1000);
// allow 50 seconds, check every 1 second.

View file

@ -92,8 +92,7 @@ describe('change user color', function () {
$chatInput.sendkeys('{enter}');
// wait until the chat message shows up
helper.waitFor(() => chrome$('#chattext').children('p').length !== 0,
).done(() => {
helper.waitFor(() => chrome$('#chattext').children('p').length !== 0).done(() => {
const $firstChatMessage = chrome$('#chattext').children('p');
// expect the first chat message to be of the user's color
expect($firstChatMessage.css('background-color')).to.be(testColorRGB);

View file

@ -227,8 +227,8 @@ describe('easysync-mutations', function () {
// turn 123\n 456\n 789\n into 123\n 4<b>5</b>6\n 789\n
runMutateAttributionTest(1,
['bold,true'], 'Z:c>0|1=4=1*0=1$', ['|1+4', '|1+4', '|1+4'], ['|1+4', '+1*0+1|1+2', '|1+4'],
);
['bold,true'], 'Z:c>0|1=4=1*0=1$', ['|1+4', '|1+4', '|1+4'],
['|1+4', '+1*0+1|1+2', '|1+4']);
// make a document bold
runMutateAttributionTest(2,