diff options
| author | Amir Zarrinkafsh <nightah@me.com> | 2021-08-03 16:25:13 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-03 16:25:13 +1000 |
| commit | 1b06e46f712d7e5f6ec6fbdb66604baa4f15173a (patch) | |
| tree | e59ddcd20b324c13ee3c3ddf739d0c5f597c5625 /web/src/views/LoadingPage/LoadingPage.tsx | |
| parent | 942fd697763bb4145e24f64dbffeb5baa1c36b82 (diff) | |
test(web): drop enzyme in favor of react-testing-library (#2224)
* test(web): drop enzyme in favor of react-testing-library
Enzyme is falling behind in maintenance, it is currently maintained by one primary developer and still does [not support React 17](https://github.com/enzymejs/enzyme/pull/2430) despite it being released in October 2020.
[react-testing-library (RTL)](https://testing-library.com/docs) is [recommended by Facebook](https://reactjs.org/docs/test-utils.html#overview) and encourages writing tests that avoid testing implementation details.
* build(deps): update react monorepo to v17 (major)
* build(deps): remove @types/{enzyme,jest}
Diffstat (limited to 'web/src/views/LoadingPage/LoadingPage.tsx')
| -rw-r--r-- | web/src/views/LoadingPage/LoadingPage.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/views/LoadingPage/LoadingPage.tsx b/web/src/views/LoadingPage/LoadingPage.tsx index f1860346f..a37dd8365 100644 --- a/web/src/views/LoadingPage/LoadingPage.tsx +++ b/web/src/views/LoadingPage/LoadingPage.tsx @@ -6,7 +6,7 @@ import ReactLoading from "react-loading"; const LoadingPage = function () { const theme = useTheme(); return ( - <Grid container alignItems="center" justify="center" style={{ minHeight: "100vh" }}> + <Grid container alignItems="center" justifyContent="center" style={{ minHeight: "100vh" }}> <Grid item style={{ textAlign: "center", display: "inline-block" }}> <ReactLoading width={64} height={64} color={theme.custom.loadingBar} type="bars" /> <Typography>Loading...</Typography> |
