mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
15 lines
357 B
TypeScript
15 lines
357 B
TypeScript
import { screen } from "@testing-library/react"
|
|
import { render } from "../../test_helpers"
|
|
import React from "react"
|
|
import { EmptyState } from "./index"
|
|
|
|
describe("EmptyState", () => {
|
|
it("renders (smoke test)", async () => {
|
|
// When
|
|
render(<EmptyState message="Hello, world" />)
|
|
|
|
// Then
|
|
await screen.findByText("Hello, world")
|
|
})
|
|
})
|