mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-27 01:16:55 -05:00
lint
This commit is contained in:
@@ -22,7 +22,9 @@ describe("have-i-been-pwned", async () => {
|
||||
});
|
||||
expect(result.error).not.toBeNull();
|
||||
expect(result.error?.status).toBe(400);
|
||||
expect(result.error?.code).toBe("THE_PASSWORD_YOU_ENTERED_HAS_BEEN_COMPROMISED_PLEASE_CHOOSE_A_DIFFERENT_PASSWORD");
|
||||
expect(result.error?.code).toBe(
|
||||
"THE_PASSWORD_YOU_ENTERED_HAS_BEEN_COMPROMISED_PLEASE_CHOOSE_A_DIFFERENT_PASSWORD",
|
||||
);
|
||||
});
|
||||
|
||||
it("should allow account creation with strong, uncompromised password", async () => {
|
||||
@@ -61,4 +63,3 @@ describe("have-i-been-pwned", async () => {
|
||||
expect(result.error?.status).toBe(400);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user