mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-27 04:46:54 -05:00
upgrade almost all frontend deps
typescript isn't at the latest because eslint warns about it.
This commit is contained in:
@@ -57,7 +57,6 @@ test("success", async () => {
|
||||
);
|
||||
userEvent.type(screen.getByLabelText(/Username/), "slamb");
|
||||
userEvent.type(screen.getByLabelText(/Password/), "hunter2{enter}");
|
||||
jest.runOnlyPendingTimers();
|
||||
await waitFor(() => expect(onSuccess).toHaveBeenCalledTimes(1));
|
||||
});
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ export class SnackbarProvider
|
||||
|
||||
handleCloseSnackbar = (
|
||||
key: React.Key,
|
||||
event: React.SyntheticEvent<any>,
|
||||
event: Event | React.SyntheticEvent<any>,
|
||||
reason: SnackbarCloseReason
|
||||
) => {
|
||||
if (reason === "clickaway") return;
|
||||
|
||||
Reference in New Issue
Block a user