💄 Fix JS files formatting issues

This commit is contained in:
Andrey Antukh
2025-08-28 17:53:07 +02:00
parent e94abad3eb
commit dede2a8f8e
14 changed files with 93 additions and 74 deletions

View File

@@ -124,11 +124,13 @@ test("Renders shapes with exif rotated images fills and strokes", async ({
"27270c45-35b4-80f3-8006-63a39cf292e7",
"27270c45-35b4-80f3-8006-63a41d147866",
"27270c45-35b4-80f3-8006-63a43dc4984b",
"27270c45-35b4-80f3-8006-63a3ea82557f"
"27270c45-35b4-80f3-8006-63a3ea82557f",
],
"render-wasm/assets/landscape.jpg",
);
await workspace.mockGetFile("render-wasm/get-file-shapes-exif-rotated-fills.json");
await workspace.mockGetFile(
"render-wasm/get-file-shapes-exif-rotated-fills.json",
);
await workspace.goToWorkspace({
id: "27270c45-35b4-80f3-8006-63a3912bdce8",
@@ -139,9 +141,7 @@ test("Renders shapes with exif rotated images fills and strokes", async ({
await expect(workspace.canvas).toHaveScreenshot();
});
test("Updates canvas background", async ({
page,
}) => {
test("Updates canvas background", async ({ page }) => {
const workspace = new WasmWorkspacePage(page);
await workspace.setupEmptyFile();
await workspace.mockGetFile("render-wasm/get-file-text.json");
@@ -152,7 +152,9 @@ test("Updates canvas background", async ({
});
await workspace.waitForFirstRender({ hideUI: false });
const canvasBackgroundInput = workspace.page.getByRole("textbox", { name: 'Color' });
const canvasBackgroundInput = workspace.page.getByRole("textbox", {
name: "Color",
});
await canvasBackgroundInput.fill("FABADA");
await workspace.page.keyboard.press("Enter");