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:
John Eismeier 2026-05-09 12:09:32 -04:00 committed by GitHub
parent 16efe59397
commit 7d4da69c1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();
});