Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f52bb68

Browse files
committed
Fix EmptyState tests
1 parent 036d18f commit f52bb68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/src/components/EmptyState/EmptyState.test.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ describe("EmptyState", () => {
2121
await screen.findByText("Friendly greeting")
2222
})
2323

24-
it("renders description component", async () => {
24+
it("renders cta component", async () => {
2525
// Given
26-
const description = <button title="Click me" />
26+
const cta = <button title="Click me" />
2727

2828
// When
29-
render(<EmptyState message="Hello, world" description={description} />)
29+
render(<EmptyState message="Hello, world" cta={cta} />)
3030

3131
// Then
3232
await screen.findByText("Hello, world")

0 commit comments

Comments
 (0)