Update Upload form tests with mocked provider

This commit is contained in:
jwu-fisker
2021-01-07 15:19:08 -08:00
parent 0ae42bf51d
commit a2e27ca6a1
4 changed files with 194 additions and 160 deletions

View File

@@ -21,7 +21,7 @@ const SiteRoutes = () => {
<Switch>
<AuthRoute path="/" exact render={() => <SignInForm />} type={TYPES.GUEST} token={token} />
<AuthRoute path="/signup" exact render={() => <SignUpForm />} type={TYPES.GUEST} token={token} />
<AuthRoute path="/home" render={() => <FileUploadForm />} type={TYPES.PUBLIC} token={token} />
<AuthRoute path="/home" render={() => <FileUploadForm />} type={TYPES.PROTECTED} token={token} />
</Switch>
</BrowserRouter>
</Suspense>