mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 00:46:16 -04:00
lint: Fix bugs and style issues introduced in PR #4718
This fixes issues introduced in commit
f8a19c4527
.
This commit is contained in:
parent
0ff8274d2e
commit
294f2a251f
6 changed files with 165 additions and 179 deletions
|
@ -27,9 +27,7 @@ describe('drag and drop', function () {
|
|||
const originalHTML = helper.padInner$('body').html();
|
||||
const $undoButton = helper.padChrome$('.buttonicon-undo');
|
||||
$undoButton.click();
|
||||
await helper.waitForPromise(
|
||||
() => originalHTML !== helper.padInner$('body').html()
|
||||
);
|
||||
await helper.waitForPromise(() => helper.padInner$('body').html() !== originalHTML);
|
||||
});
|
||||
|
||||
it('moves text back to its original place', function (done) {
|
||||
|
@ -66,9 +64,7 @@ describe('drag and drop', function () {
|
|||
const originalHTML = helper.padInner$('body').html();
|
||||
const $undoButton = helper.padChrome$('.buttonicon-undo');
|
||||
$undoButton.click();
|
||||
await helper.waitForPromise(
|
||||
() => originalHTML !== helper.padInner$('body').html()
|
||||
);
|
||||
await helper.waitForPromise(() => helper.padInner$('body').html() !== originalHTML);
|
||||
});
|
||||
|
||||
it('moves text back to its original place', function (done) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue