import { compile } from '../src' describe('ssr: v-model', () => { test(' (text types)', () => { expect(compile(``).code).toMatchInlineSnapshot(` "const { _renderAttr } = require(\\"@vue/server-renderer\\") return function ssrRender(_ctx, _push, _parent) { _push(\`\`) }" `) expect(compile(``).code) .toMatchInlineSnapshot(` "const { _renderAttr } = require(\\"@vue/server-renderer\\") return function ssrRender(_ctx, _push, _parent) { _push(\`\`) }" `) }) test('', () => { expect(compile(``).code) .toMatchInlineSnapshot(` "const { _looseEqual } = require(\\"@vue/server-renderer\\") return function ssrRender(_ctx, _push, _parent) { _push(\`\`) }" `) }) test(' { expect(compile(``).code) .toMatchInlineSnapshot(` "const { _looseContain } = require(\\"@vue/server-renderer\\") return function ssrRender(_ctx, _push, _parent) { _push(\`\`) }" `) expect(compile(``).code) .toMatchInlineSnapshot(` "const { _looseContain } = require(\\"@vue/server-renderer\\") return function ssrRender(_ctx, _push, _parent) { _push(\`\`) }" `) }) test('`).code) .toMatchInlineSnapshot(` "const { _interpolate } = require(\\"@vue/server-renderer\\") return function ssrRender(_ctx, _push, _parent) { _push(\`\`) }" `) }) test('', () => { expect(compile(``).code) .toMatchInlineSnapshot(` "const { _renderAttr, _renderDynamicModel } = require(\\"@vue/server-renderer\\") return function ssrRender(_ctx, _push, _parent) { _push(\`\`) }" `) expect(compile(``).code) .toMatchInlineSnapshot(` "const { _renderAttr, _renderDynamicModel } = require(\\"@vue/server-renderer\\") return function ssrRender(_ctx, _push, _parent) { _push(\`\`) }" `) expect(compile(``).code) .toMatchInlineSnapshot(` "const { _renderAttr, _renderDynamicModel } = require(\\"@vue/server-renderer\\") return function ssrRender(_ctx, _push, _parent) { _push(\`\`) }" `) }) test('', () => { expect(compile(``).code) .toMatchInlineSnapshot(` "const { mergeProps } = require(\\"vue\\") const { _renderAttrs, _getDynamicModelProps } = require(\\"@vue/server-renderer\\") return function ssrRender(_ctx, _push, _parent) { let _temp0 _push(\`\`) }" `) expect(compile(``).code) .toMatchInlineSnapshot(` "const { mergeProps } = require(\\"vue\\") const { _renderAttrs, _getDynamicModelProps } = require(\\"@vue/server-renderer\\") return function ssrRender(_ctx, _push, _parent) { let _temp0 _push(\`\`) }" `) }) })