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-10.0.1.alpha.rtflexfix app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-10.0.0.pre.alphafonts app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-10.0.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-10.0.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.19.0.pre.alpha.pre.fonts2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.19.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.18.0.flow.bin.alpha app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.18.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.17.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.17.0.pre.decouple.website2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.16.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.15.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.14.1.alpha.highcharts9 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.14.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.13.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.12.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.12.0.pre.text.addon app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js