mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-22 00:31:44 +00:00
Update ui/litellm-dashboard/src/components/common_components/DeleteResourceModal.test.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
16efe59397
commit
7d4da69c1a
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ describe("DeleteResourceModal", () => {
|
|||
const user = userEvent.setup();
|
||||
renderWithProviders(<DeleteResourceModal {...defaultProps} requiredConfirmation="DELETE" />);
|
||||
const input = screen.getByPlaceholderText("DELETE");
|
||||
await user.type(input, "DELETE");
|
||||
await user.type(input, "DELET");
|
||||
const deleteButton = screen.getByRole("button", { name: /delete/i });
|
||||
expect(deleteButton).toBeDisabled();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue