Fix coding standards for typescript-eslint 8

This commit is contained in:
Alejandro Celaya
2024-08-07 12:23:03 +02:00
parent 81ea262999
commit a8258ff2cc
16 changed files with 48 additions and 24 deletions

View File

@@ -32,7 +32,9 @@ describe('<DeleteServerButton />', () => {
expect(screen.getByText(/DeleteServerModal/)).toHaveTextContent(/Closed/);
expect(screen.getByText(/DeleteServerModal/)).not.toHaveTextContent(/Open/);
container.firstElementChild && await user.click(container.firstElementChild);
if (container.firstElementChild) {
await user.click(container.firstElementChild);
}
await waitFor(() => expect(screen.getByText(/DeleteServerModal/)).toHaveTextContent(/Open/));
});