|
1 |
| -// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 1 | +// Vitest Snapshot v1 |
2 | 2 |
|
3 |
| -exports[`stringify static html should bail on bindings that are hoisted but not stringifiable 1`] = ` |
| 3 | +exports[`stringify static html > should bail on bindings that are hoisted but not stringifiable 1`] = ` |
4 | 4 | "const { createElementVNode: _createElementVNode, openBlock: _openBlock, createElementBlock: _createElementBlock } = Vue
|
5 | 5 |
|
6 |
| -const _hoisted_1 = /*#__PURE__*/_createElementVNode("div", null, [ |
7 |
| - /*#__PURE__*/_createElementVNode("span", { class: "foo" }, "foo"), |
8 |
| - /*#__PURE__*/_createElementVNode("span", { class: "foo" }, "foo"), |
9 |
| - /*#__PURE__*/_createElementVNode("span", { class: "foo" }, "foo"), |
10 |
| - /*#__PURE__*/_createElementVNode("span", { class: "foo" }, "foo"), |
11 |
| - /*#__PURE__*/_createElementVNode("span", { class: "foo" }, "foo"), |
12 |
| - /*#__PURE__*/_createElementVNode("img", { src: _imports_0_ }) |
| 6 | +const _hoisted_1 = /*#__PURE__*/_createElementVNode(\\"div\\", null, [ |
| 7 | + /*#__PURE__*/_createElementVNode(\\"span\\", { class: \\"foo\\" }, \\"foo\\"), |
| 8 | + /*#__PURE__*/_createElementVNode(\\"span\\", { class: \\"foo\\" }, \\"foo\\"), |
| 9 | + /*#__PURE__*/_createElementVNode(\\"span\\", { class: \\"foo\\" }, \\"foo\\"), |
| 10 | + /*#__PURE__*/_createElementVNode(\\"span\\", { class: \\"foo\\" }, \\"foo\\"), |
| 11 | + /*#__PURE__*/_createElementVNode(\\"span\\", { class: \\"foo\\" }, \\"foo\\"), |
| 12 | + /*#__PURE__*/_createElementVNode(\\"img\\", { src: _imports_0_ }) |
13 | 13 | ], -1 /* HOISTED */)
|
14 | 14 | const _hoisted_2 = [
|
15 | 15 | _hoisted_1
|
16 | 16 | ]
|
17 | 17 |
|
18 | 18 | return function render(_ctx, _cache) {
|
19 |
| - return (_openBlock(), _createElementBlock("div", null, _hoisted_2)) |
| 19 | + return (_openBlock(), _createElementBlock(\\"div\\", null, _hoisted_2)) |
20 | 20 | }"
|
21 | 21 | `;
|
22 | 22 |
|
23 |
| -exports[`stringify static html should work with bindings that are non-static but stringifiable 1`] = ` |
| 23 | +exports[`stringify static html > should work with bindings that are non-static but stringifiable 1`] = ` |
24 | 24 | "const { createElementVNode: _createElementVNode, createStaticVNode: _createStaticVNode, openBlock: _openBlock, createElementBlock: _createElementBlock } = Vue
|
25 | 25 |
|
26 |
| -const _hoisted_1 = /*#__PURE__*/_createStaticVNode("<div><span class=\\"foo\\">foo</span><span class=\\"foo\\">foo</span><span class=\\"foo\\">foo</span><span class=\\"foo\\">foo</span><span class=\\"foo\\">foo</span><img src=\\"" + _imports_0_ + "\\"></div>", 1) |
| 26 | +const _hoisted_1 = /*#__PURE__*/_createStaticVNode(\\"<div><span class=\\\\\\"foo\\\\\\">foo</span><span class=\\\\\\"foo\\\\\\">foo</span><span class=\\\\\\"foo\\\\\\">foo</span><span class=\\\\\\"foo\\\\\\">foo</span><span class=\\\\\\"foo\\\\\\">foo</span><img src=\\\\\\"\\" + _imports_0_ + \\"\\\\\\"></div>\\", 1) |
27 | 27 | const _hoisted_2 = [
|
28 | 28 | _hoisted_1
|
29 | 29 | ]
|
30 | 30 |
|
31 | 31 | return function render(_ctx, _cache) {
|
32 |
| - return (_openBlock(), _createElementBlock("div", null, _hoisted_2)) |
| 32 | + return (_openBlock(), _createElementBlock(\\"div\\", null, _hoisted_2)) |
33 | 33 | }"
|
34 | 34 | `;
|
35 | 35 |
|
36 |
| -exports[`stringify static html stringify v-html 1`] = ` |
| 36 | +exports[`stringify static html > stringify v-html 1`] = ` |
37 | 37 | "const { createElementVNode: _createElementVNode, createStaticVNode: _createStaticVNode } = Vue
|
38 | 38 |
|
39 |
| -const _hoisted_1 = /*#__PURE__*/_createStaticVNode("<pre data-type=\\"js\\"><code><span>show-it </span></code></pre><div class><span class>1</span><span class>2</span></div>", 2) |
| 39 | +const _hoisted_1 = /*#__PURE__*/_createStaticVNode(\\"<pre data-type=\\\\\\"js\\\\\\"><code><span>show-it </span></code></pre><div class><span class>1</span><span class>2</span></div>\\", 2) |
40 | 40 |
|
41 | 41 | return function render(_ctx, _cache) {
|
42 | 42 | return _hoisted_1
|
43 | 43 | }"
|
44 | 44 | `;
|
45 | 45 |
|
46 |
| -exports[`stringify static html stringify v-text 1`] = ` |
| 46 | +exports[`stringify static html > stringify v-text 1`] = ` |
47 | 47 | "const { createElementVNode: _createElementVNode, createStaticVNode: _createStaticVNode } = Vue
|
48 | 48 |
|
49 |
| -const _hoisted_1 = /*#__PURE__*/_createStaticVNode("<pre data-type=\\"js\\"><code><span>show-it </span></code></pre><div class><span class>1</span><span class>2</span></div>", 2) |
| 49 | +const _hoisted_1 = /*#__PURE__*/_createStaticVNode(\\"<pre data-type=\\\\\\"js\\\\\\"><code><span>show-it </span></code></pre><div class><span class>1</span><span class>2</span></div>\\", 2) |
50 | 50 |
|
51 | 51 | return function render(_ctx, _cache) {
|
52 | 52 | return _hoisted_1
|
|
0 commit comments