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 036d18f commit f52bb68Copy full SHA for f52bb68
site/src/components/EmptyState/EmptyState.test.tsx
@@ -21,12 +21,12 @@ describe("EmptyState", () => {
21
await screen.findByText("Friendly greeting")
22
})
23
24
- it("renders description component", async () => {
+ it("renders cta component", async () => {
25
// Given
26
- const description = <button title="Click me" />
+ const cta = <button title="Click me" />
27
28
// When
29
- render(<EmptyState message="Hello, world" description={description} />)
+ render(<EmptyState message="Hello, world" cta={cta} />)
30
31
// Then
32
await screen.findByText("Hello, world")
0 commit comments