componentTest.spec.ts.t 761 B

1234567891011121314
  1. ---
  2. to: ../../app/frontend/<%= h.componentLibrary(libraryName) %>/components/<%= h.componentGenericWitPrefix(name, h) %>/__tests__/<%= h.componentGenericWitPrefix(name, h) %>.spec.ts
  3. ---
  4. // <%= h.zammadCopyright() %>
  5. import { renderComponent } from '#tests/support/components/index.ts'
  6. import <%= h.componentGenericWitPrefix(name, h) %> from '#<%= h.componentLibrary(libraryName, false) %>/components/<%= h.componentGenericWitPrefix(name, h) %>/<%= h.componentGenericWitPrefix(name, h) %>.vue'
  7. describe('<%= h.componentGenericWitPrefix(name, h) %>', () => {
  8. it('renders <%= h.componentGenericWitPrefix(name, h) %>', () => {
  9. const wrapper = renderComponent(<%= h.componentGenericWitPrefix(name, h) %>, {})
  10. expect(wrapper).toBeInTheDocument()
  11. })
  12. })