We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a33d2c7 commit 9cc7e94Copy full SHA for 9cc7e94
site/components/SignIn/CliAuthToken.test.tsx
@@ -0,0 +1,16 @@
1
+import React from "react"
2
+import { screen } from "@testing-library/react"
3
+import { render } from "../../test_helpers"
4
+
5
+import { CliAuthToken } from "./CliAuthToken"
6
7
+describe("CliAuthToken", () => {
8
+ it("renders content", async () => {
9
+ // When
10
+ render(<CliAuthToken sessionToken="test-token" />)
11
12
+ // Then
13
+ await screen.findByText("Session Token")
14
+ await screen.findByText("test-token")
15
+ })
16
+})
site/pages/cli-auth.tsx
@@ -31,7 +31,7 @@ const CliAuthenticationPage: React.FC = () => {
31
)
32
}
33
34
-const useStyles = makeStyles((theme) => ({
+const useStyles = makeStyles(() => ({
35
root: {
36
width: "100vw",
37
height: "100vh",
0 commit comments