Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
import { ssrCompile } from 'server/compiler'
describe('ssrCompile options', () => {
it('comments', () => {
const compiled = ssrCompile(
`
<div>
<!-- test comments -->
</div>
`,
{ comments: true }
)
expect(compiled.render).toContain('<!-- test comments -->')
})