mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-16 18:55:11 +00:00
fix(login): prettier setup (#11798)
# Which Problems Are Solved Invalid formatting in the login codebase due to invalid prettier configuration # How the Problems Are Solved Fxed .prettierignore wildcards for login source files # Additional Changes Removed .prettierrc file because there is already a prettier.config.mjs file # Additional Context
This commit is contained in:
@@ -19,13 +19,7 @@ describe("UsernameForm", () => {
|
||||
|
||||
test("should autofocus the loginName input on mount", () => {
|
||||
const { getByTestId } = render(
|
||||
<UsernameForm
|
||||
loginName=""
|
||||
requestId={undefined}
|
||||
loginSettings={undefined}
|
||||
submit={false}
|
||||
allowRegister={false}
|
||||
/>,
|
||||
<UsernameForm loginName="" requestId={undefined} loginSettings={undefined} submit={false} allowRegister={false} />,
|
||||
);
|
||||
expect(getByTestId("username-text-input")).toHaveFocus();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user