upgrade almost all frontend deps

typescript isn't at the latest because eslint warns about it.
This commit is contained in:
Scott Lamb 2022-03-04 08:55:06 -08:00
parent 274dc09ec3
commit 90c9a31ad0
4 changed files with 686 additions and 534 deletions

1181
ui/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -3,24 +3,24 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@emotion/react": "^11.1.5",
"@emotion/styled": "^11.1.5",
"@fontsource/roboto": "^4.2.1",
"@mui/icons-material": "^5.0.1",
"@mui/lab": "^5.0.0-alpha.48",
"@mui/material": "^5.0.1",
"@mui/styles": "^5.0.1",
"@react-hook/resize-observer": "^1.2.0",
"@types/jest": "^26.0.20",
"@types/node": "^16.3.1",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"date-fns": "^2.18.0",
"date-fns-tz": "^1.1.3",
"gzipper": "^5.0.0",
"@emotion/react": "^11.8.1",
"@emotion/styled": "^11.8.1",
"@fontsource/roboto": "^4.5.3",
"@mui/icons-material": "^5.4.4",
"@mui/lab": "^5.0.0-alpha.71",
"@mui/material": "^5.4.4",
"@mui/styles": "^5.4.4",
"@react-hook/resize-observer": "^1.2.5",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.13",
"date-fns": "^2.28.0",
"date-fns-tz": "^1.3.0",
"gzipper": "^7.0.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-router-dom": "^6.2.1",
"react-router-dom": "^6.2.2",
"react-scripts": "^5.0.0",
"typescript": "4.5.5"
},
@ -69,8 +69,8 @@
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^13.5.0",
"http-proxy-middleware": "^2.0.1",
"http-proxy-middleware": "^2.0.3",
"msw": "^0.38.2",
"prettier": "^2.2.1"
"prettier": "^2.5.1"
}
}

View File

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

View File

@ -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;