Sha256: e48f053e29401cf0b4d55ad5a7a69c80f7cf6b2a85e09dc73c7643e914f4a2f6
Contents?: true
Size: 300 Bytes
Versions: 25
Compression:
Stored size: 300 Bytes
Contents
import { render } from "@testing-library/react"; import Root from "./root.component"; describe("Root component", () => { it("should be in the document", () => { const { getByText } = render(<Root name="Testapp" />); expect(getByText(/Testapp is mounted!/i)).toBeInTheDocument(); }); });
Version data entries
25 entries across 25 versions & 1 rubygems