CommonContentPanel.spec.ts 491 B

1234567891011121314151617
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import { renderComponent } from '#tests/support/components/index.ts'
  3. import CommonContentPanel from '../CommonContentPanel.vue'
  4. describe('CommonContentPanel.vue', () => {
  5. it('renders CommonContentPanel', () => {
  6. const wrapper = renderComponent(CommonContentPanel, {
  7. slots: {
  8. default: 'some content',
  9. },
  10. })
  11. expect(wrapper.getByText('some content')).toBeInTheDocument()
  12. })
  13. })