composableTest.spec.ts.t 663 B

12345678910111213
  1. ---
  2. to: "<%= withTypeFile ? h.getPath('genericComponent', {directoryScope, suffix: `${h.usePrefix(componentName, 'generic')}/__test__/${h.usePrefix(componentName, 'use')}.spec.ts`}) : null %>"
  3. ---
  4. // <%= h.zammadCopyright() %>
  5. import { <%= h.usePrefix(componentName, 'use') %> } from '#<%= h.componentLibrary(directoryScope, false) %>/components/<%= h.usePrefix(componentName, 'generic') %>/<%= h.usePrefix(componentName, 'use') %>.ts'
  6. describe('<%= h.usePrefix(componentName, 'use') %>', () => {
  7. it.todo('test <%= h.usePrefix(componentName, 'use') %>', () => {
  8. const composable = <%= h.usePrefix(componentName, 'use') %>()
  9. expect(composable)
  10. })
  11. })