diff options
author | 2022-07-19 13:58:34 +0200 | |
---|---|---|
committer | 2022-07-19 13:58:34 +0200 | |
commit | 191581e287f78ba325fdd7681c83586309b59df2 (patch) | |
tree | 72331f121c3d5baa6f449e6c1ad362a98d35b5c8 /src/tests | |
parent | Clear Authorization On Error (diff) |
Simplify Navigation Component
Extract the styles from the navigation component to common styles, and
convert it to a function component.
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/components/OAuth2Button.test.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/components/OAuth2Button.test.tsx b/src/tests/components/OAuth2Button.test.tsx index a773686..2a67f98 100644 --- a/src/tests/components/OAuth2Button.test.tsx +++ b/src/tests/components/OAuth2Button.test.tsx @@ -3,8 +3,8 @@ import { render } from "@testing-library/react"; import OAuth2Button from "../../components/OAuth2Button"; test("renders oauth2 sign in button text", () => { - const { getByText } = render(<OAuth2Button />); - const button = getByText(/Discord Login/i); + const { getByText } = render(<OAuth2Button/>); + const button = getByText(/Login To Submit/i); expect(button).toBeInTheDocument(); }); |