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

Version Path
openc3-6.0.2 templates/tool_react/src/root.component.test.js
openc3-6.0.1 templates/tool_react/src/root.component.test.js
openc3-6.0.0 templates/tool_react/src/root.component.test.js
openc3-5.20.0 templates/tool_react/src/root.component.test.js
openc3-5.19.0 templates/tool_react/src/root.component.test.js
openc3-5.18.0 templates/tool_react/src/root.component.test.js
openc3-5.17.1 templates/tool_react/src/root.component.test.js
openc3-5.17.0 templates/tool_react/src/root.component.test.js
openc3-5.16.0 templates/tool_react/src/root.component.test.js
openc3-5.15.2 templates/tool_react/src/root.component.test.js
openc3-5.15.1 templates/tool_react/src/root.component.test.js
openc3-5.15.0 templates/tool_react/src/root.component.test.js
openc3-5.14.2 templates/tool_react/src/root.component.test.js
openc3-5.14.1 templates/tool_react/src/root.component.test.js
openc3-5.14.0 templates/tool_react/src/root.component.test.js
openc3-5.13.0 templates/tool_react/src/root.component.test.js
openc3-5.12.0 templates/tool_react/src/root.component.test.js
openc3-5.11.3 templates/tool_react/src/root.component.test.js
openc3-5.11.2 templates/tool_react/src/root.component.test.js
openc3-5.11.1 templates/tool_react/src/root.component.test.js