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-9.4.0.pre.alpha2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.4.0.pre.alpha1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.3.1.pre.alpha1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.3.0.alpha.inline3 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.3.0.pre.alpha.password.strength.2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.3.0.alpha.inline2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.3.0.alpha.inline1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.3.0.pre.alpha.password.strength.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.3.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.2.2.pre.alpha.margin app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.2.2 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.2.1 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.2.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.1.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-9.0.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.3.0.alpha.select.pre.margin app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.3.0 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.2.1.pre.alpha5 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.2.1.pre.alpha4 app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js
playbook_ui-8.2.1.alpha.iconacc app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.test.js