mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-28 23:28:16 +02:00
Address formatting changes from Prettier version 3
This commit is contained in:
parent
1a4bfd2fc3
commit
f84657d837
4 changed files with 28 additions and 21 deletions
|
@ -217,9 +217,12 @@ describe("FreeText Editor", () => {
|
|||
await page.waitForTimeout(10);
|
||||
}
|
||||
|
||||
let length = await page.evaluate(sel => {
|
||||
return document.querySelectorAll(sel).length;
|
||||
}, `${getEditorSelector(5)}, ${getEditorSelector(6)}`);
|
||||
let length = await page.evaluate(
|
||||
sel => {
|
||||
return document.querySelectorAll(sel).length;
|
||||
},
|
||||
`${getEditorSelector(5)}, ${getEditorSelector(6)}`
|
||||
);
|
||||
expect(length).withContext(`In ${browserName}`).toEqual(2);
|
||||
|
||||
for (let i = 0; i < 2; i++) {
|
||||
|
@ -229,9 +232,12 @@ describe("FreeText Editor", () => {
|
|||
await page.waitForTimeout(10);
|
||||
}
|
||||
|
||||
length = await page.evaluate(sel => {
|
||||
return document.querySelectorAll(sel).length;
|
||||
}, `${getEditorSelector(5)}, ${getEditorSelector(6)}`);
|
||||
length = await page.evaluate(
|
||||
sel => {
|
||||
return document.querySelectorAll(sel).length;
|
||||
},
|
||||
`${getEditorSelector(5)}, ${getEditorSelector(6)}`
|
||||
);
|
||||
expect(length).withContext(`In ${browserName}`).toEqual(0);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue