Sha256: fd37db90f4d0c26f3ea0bdc3e4619f3abbac33d542a86e89935c44f3a05751c9

Contents?: true

Size: 430 Bytes

Versions: 342

Compression:

Stored size: 430 Bytes

Contents

import React from 'react'
import { render } from "../utilities/test-utils";

import { Button, FormGroup } from "playbook-ui";

test("should render a div with a button child", () => {
  const testId = "primary-test"
  const { queryByTestId } = render(
    <FormGroup>
      <Button 
          data={{ testid: testId }} 
          text={"some text"} />
    </FormGroup>
  )

  expect(queryByTestId("primary-test")).not.toBeNull;
})

Version data entries

342 entries across 342 versions & 1 rubygems

Version Path
playbook_ui-13.32.0.pre.alpha.PLAY14143255 app/pb_kits/playbook/pb_form_group/form_group.test.js
playbook_ui-13.32.0.pre.alpha.PLAY14143251 app/pb_kits/playbook/pb_form_group/form_group.test.js