1
0
Fork 0
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:
Jonas Jenwald 2023-07-15 09:09:20 +02:00
parent 1a4bfd2fc3
commit f84657d837
4 changed files with 28 additions and 21 deletions

View file

@ -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);
}
});