Sha256: 14ed628b2e2034aa864c5e73bb53eee9316385cc8801278879b47bfa213297a1

Contents?: true

Size: 381 Bytes

Versions: 793

Compression:

Stored size: 381 Bytes

Contents

import React from 'react'
import { render, screen } from '../utilities/test-utils'

import CircleIconButton from './_circle_icon_button'

test('default test', () => {
  render(
    <CircleIconButton
        data={{ testid: 'default-test' }}
        icon="plus"
    />
  )

  const kit = screen.getByTestId('default-test')

  expect(kit).toHaveClass('pb_circle_icon_button_kit')
})

Version data entries

793 entries across 793 versions & 1 rubygems

Version Path
playbook_ui-8.2.1.pre.alpha3 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.2.1.pre.alpha2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.3.0.deps2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.3.0.pre.alpha1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.2.1.pre.alpha1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.2.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.4.0.alpha.dependencies.2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.4.0.alpha.dependencies.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.2.0.pre.alpha4 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.2.0.pre.alpha3 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.2.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.1.0.pre.alpha1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.2.0.pre.alpha2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js