mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
fix: give key_rotation_email TextInput a distinct test id to prevent duplicate custom-interval-input
This commit is contained in:
parent
90246082f4
commit
e2f05eeded
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ vi.mock("@tremor/react", () => ({
|
|||
};
|
||||
return (
|
||||
<input
|
||||
data-testid={name === "duration" ? "duration-input" : "custom-interval-input"}
|
||||
data-testid={name === "duration" ? "duration-input" : name === "key_rotation_email" ? "key-rotation-email-input" : "custom-interval-input"}
|
||||
value={value}
|
||||
onChange={handleChange}
|
||||
placeholder={placeholder}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue