diff --git a/package-lock.json b/package-lock.json index 5fe896aa4..6bd87113e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9921,9 +9921,9 @@ } }, "eslint-config-etherpad": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/eslint-config-etherpad/-/eslint-config-etherpad-1.0.9.tgz", - "integrity": "sha512-g/yRRKiNL3k/VO6zizq13CKNEIHOQli6LpenSCGhfolZid3TVe/8D9mnFML3gtNcqTNZj5L15N2U/05ip7sD7Q==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/eslint-config-etherpad/-/eslint-config-etherpad-1.0.11.tgz", + "integrity": "sha512-/MPV8rtPB/mRbfX/Xtw4IulERSj14IWHLp2dU+0a5lz3qfLl8ZKTkp6WHCcj3Uf+mQh4yWEACeqRYZ77ErNtzw==", "dev": true }, "eslint-plugin-es": { diff --git a/package.json b/package.json index 0939171c8..730b0e99b 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ }, "devDependencies": { "eslint": "^7.13.0", - "eslint-config-etherpad": "^1.0.9", + "eslint-config-etherpad": "^1.0.11", "eslint-plugin-mocha": "^8.0.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prefer-arrow": "^1.2.2", diff --git a/tests/frontend/specs/change_user_color.js b/tests/frontend/specs/change_user_color.js index 3b4b3d20e..e8c16db37 100644 --- a/tests/frontend/specs/change_user_color.js +++ b/tests/frontend/specs/change_user_color.js @@ -93,7 +93,7 @@ describe('change user color', function () { $chatInput.sendkeys('{enter}'); // simulate a keypress of enter actually does evt.which = 10 not 13 // check if chat shows up - helper.waitFor(() => chrome$('#chattext').children('p').length !== 0, // wait until the chat message shows up + helper.waitFor(() => chrome$('#chattext').children('p').length !== 0 // wait until the chat message shows up ).done(() => { const $firstChatMessage = chrome$('#chattext').children('p'); expect($firstChatMessage.css('background-color')).to.be(testColorRGB); // expect the first chat message to be of the user's color diff --git a/tests/frontend/specs/change_user_name.js b/tests/frontend/specs/change_user_name.js index d0d9b763c..e144a2340 100644 --- a/tests/frontend/specs/change_user_name.js +++ b/tests/frontend/specs/change_user_name.js @@ -60,7 +60,7 @@ describe('change username value', function () { $chatInput.sendkeys('{enter}'); // simulate a keypress of enter actually does evt.which = 10 not 13 // check if chat shows up - helper.waitFor(() => chrome$('#chattext').children('p').length !== 0, // wait until the chat message shows up + helper.waitFor(() => chrome$('#chattext').children('p').length !== 0 // wait until the chat message shows up ).done(() => { const $firstChatMessage = chrome$('#chattext').children('p'); const containsJohnMcLear = $firstChatMessage.text().indexOf('John McLear') !== -1; // does the string contain John McLear diff --git a/tests/frontend/specs/clear_authorship_colors.js b/tests/frontend/specs/clear_authorship_colors.js index 0be189625..f622e912a 100644 --- a/tests/frontend/specs/clear_authorship_colors.js +++ b/tests/frontend/specs/clear_authorship_colors.js @@ -28,7 +28,7 @@ describe('clear authorship colors button', function () { $firstTextElement.sendkeys(sentText); $firstTextElement.sendkeys('{rightarrow}'); - helper.waitFor(() => inner$('div span').first().attr('class').indexOf('author') !== -1, // wait until we have the full value available + helper.waitFor(() => inner$('div span').first().attr('class').indexOf('author') !== -1 // wait until we have the full value available ).done(() => { // IE hates you if you don't give focus to the inner frame bevore you do a clearAuthorship inner$('div').first().focus(); @@ -80,7 +80,7 @@ describe('clear authorship colors button', function () { $firstTextElement.sendkeys(sentText); $firstTextElement.sendkeys('{rightarrow}'); - helper.waitFor(() => inner$('div span').first().attr('class').indexOf('author') !== -1, // wait until we have the full value available + helper.waitFor(() => inner$('div span').first().attr('class').indexOf('author') !== -1 // wait until we have the full value available ).done(() => { // IE hates you if you don't give focus to the inner frame bevore you do a clearAuthorship inner$('div').first().focus(); diff --git a/tests/frontend/specs/importexport.js b/tests/frontend/specs/importexport.js index 7f3e4c415..0be2a0744 100644 --- a/tests/frontend/specs/importexport.js +++ b/tests/frontend/specs/importexport.js @@ -136,7 +136,7 @@ describe('import functionality', function () { const htmlWithBullets = '