tests: Delete trailing commas in function arguments (#4516)

* lint: Bump eslint-config-etherpad to 1.0.11

* lint: Rerun `eslint --fix` to nuke trailing function call commas

eslint-config-etherpad 1.0.11 changed the comma-dangle rule to
prohibit trailing commas for function arguments. See:
673ab07acf
Re-run the automated fixes to apply the rule change.

This also fixes a few lint issues in changes that were made after
`eslint --fix` was originally run.
This commit is contained in:
Richard Hansen 2020-11-25 04:50:48 -05:00 committed by GitHub
parent 0a72459b3d
commit e5a3062cbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 15 additions and 15 deletions

View file

@ -42,7 +42,7 @@ describe('timeslider follow', function () {
const lines = helper.linesDiv();
helper.selectLines(lines[0], lines[lines.length - 1]); // select all lines
// probably unnecessary, but wait for the selection to be Range not Caret
await helper.waitForPromise(() => !helper.padInner$.document.getSelection().isCollapsed,
await helper.waitForPromise(() => !helper.padInner$.document.getSelection().isCollapsed
// only supported in FF57+
// return helper.padInner$.document.getSelection().type === 'Range';
);