Sha256: 8032bb513f358b7890f19bce3303a9755fb98c2871143e32ce30fc56915a50f7
Contents?: true
Size: 421 Bytes
Versions: 525
Compression:
Stored size: 421 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
525 entries across 525 versions & 1 rubygems