mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
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:
parent
0a72459b3d
commit
e5a3062cbb
10 changed files with 15 additions and 15 deletions
|
@ -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';
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue