fix: resolve all TypeScript errors in web app
This commit is contained in:
@@ -60,7 +60,7 @@ describe("DomainList", () => {
|
||||
);
|
||||
|
||||
const editButtons = screen.getAllByRole("button", { name: /edit/i });
|
||||
editButtons[0].click();
|
||||
editButtons[0]!.click();
|
||||
expect(onEdit).toHaveBeenCalledWith(mockDomains[0]);
|
||||
});
|
||||
|
||||
@@ -75,7 +75,7 @@ describe("DomainList", () => {
|
||||
);
|
||||
|
||||
const deleteButtons = screen.getAllByRole("button", { name: /delete/i });
|
||||
deleteButtons[0].click();
|
||||
deleteButtons[0]!.click();
|
||||
expect(onDelete).toHaveBeenCalledWith(mockDomains[0]);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user