Unverified Commit 8b885301 authored by Marius van den Beek's avatar Marius van den Beek Committed by GitHub
Browse files

Merge pull request #20815 from dannon/prettier-3-upgrade

Prettier 3 upgrade
parents 91205d87 8d1c0262
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ describe("MyComponent", () => {
                }

                return response(200).json(TEST_HISTORY_SUMMARY);
            })
            }),
        );

        // Your test code here
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ function stageLibs(callback) {
                fs.createReadStream(p1).pipe(fs.createWriteStream(p2));
            } else {
                throw new Error(
                    `${p1} does not exist, yet it is a required library. Check that the package in question exists in node_modules.`
                    `${p1} does not exist, yet it is a required library. Check that the package in question exists in node_modules.`,
                );
            }
        });
+2 −2
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ async function loadIcon(folderPath, fileName, prefix) {
    if (segments.length !== 3 || !["regular", "solid", "duotone"].includes(type) || !segments[2] === "svg") {
        throw new Error(
            `Failed to load icon "${fileName}". ` +
                'Icon files must be in the following format: "`name`.`type`.svg", where type is `regular`, `solid` or `duotone`'
                'Icon files must be in the following format: "`name`.`type`.svg", where type is `regular`, `solid` or `duotone`',
        );
    }

+1 −1
Original line number Diff line number Diff line
@@ -209,7 +209,7 @@
    "openapi-msw": "^0.7.0",
    "openapi-typescript": "^7.3.0",
    "postcss-loader": "^7.3.3",
    "prettier": "^2.8.8",
    "prettier": "^3.6.2",
    "process": "^0.11.10",
    "raw-loader": "^4.0.2",
    "sass": "^1.69.4",
+2 −2
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ server.use(
            return response("5XX").json(EXPECTED_500_ERROR, { status: 500 });
        }
        return response(200).json(TEST_HISTORY_SUMMARY);
    })
    }),
);

describe("useServerMock", () => {
@@ -100,7 +100,7 @@ describe("useServerMock", () => {

            expect(error).toBeDefined();
            expect(`${JSON.stringify(error)}`).toContain(
                "Make sure you have added a request handler for this request in your tests."
                "Make sure you have added a request handler for this request in your tests.",
            );
        }
    });
Loading