Sha256: 485b36876e30817b5666cd5de5824c7cfa1a4bb6e56eec1f13ea7a47ead5fe30
Contents?: true
Size: 427 Bytes
Versions: 2
Compression:
Stored size: 427 Bytes
Contents
import React from 'react' import { render } from "../utilities/test-utils"; import { Button, FormGroup } from ".."; 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
2 entries across 2 versions & 1 rubygems