import { getCompiledString } from './utils' describe('ssr: element', () => { test('basic elements', () => { expect(getCompiledString(`
`)).toMatchInlineSnapshot( `"\`
\`"` ) expect(getCompiledString(`
`)).toMatchInlineSnapshot( `"\`
\`"` ) }) test('static attrs', () => { expect( getCompiledString(`
`) ).toMatchInlineSnapshot(`"\`
\`"`) }) test('nested elements', () => { expect( getCompiledString(`
`) ).toMatchInlineSnapshot(`"\`
\`"`) }) test('void element', () => { expect(getCompiledString(``)).toMatchInlineSnapshot(`"\`\`"`) }) test('v-html', () => { expect(getCompiledString(`
`)).toMatchInlineSnapshot( `"\`
\${_ctx.foo}
\`"` ) }) test('v-text', () => { expect(getCompiledString(`
`)).toMatchInlineSnapshot( `"\`
\${_interpolate(_ctx.foo)}
\`"` ) }) test('\`"` ) }) test('\`"`) }) })