vue-docgen-cli
Version:
Generate documentation markdown files from VueJs components using the vue-docgen-api.
19 lines (17 loc) • 322 B
text/typescript
import { renderTags } from './tags'
describe('renderTags', () => {
it('should render tags', () => {
expect(
renderTags({
since: [
{ title: 'since', content: '1.2.3' },
{ title: 'since', content: 'ever' }
]
})
).toMatchInlineSnapshot(`
"
\`@since\` 1.2.3
\`@since\` ever"
`)
})
})