2019-10-11 22:13:55 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`compile should contain standard transforms 1`] = `
|
|
|
|
"const _Vue = Vue
|
|
|
|
|
2020-02-11 06:29:12 +08:00
|
|
|
return function render(_ctx, _cache) {
|
2020-02-14 07:28:40 +08:00
|
|
|
with (_ctx) {
|
2021-06-23 07:15:20 +08:00
|
|
|
const { toDisplayString: _toDisplayString, createElementVNode: _createElementVNode, normalizeStyle: _normalizeStyle, Fragment: _Fragment, openBlock: _openBlock, createElementBlock: _createElementBlock } = _Vue
|
2020-02-10 22:33:04 +08:00
|
|
|
|
2021-06-23 07:15:20 +08:00
|
|
|
return (_openBlock(), _createElementBlock(_Fragment, null, [
|
|
|
|
_createElementVNode(\\"div\\", {
|
2020-10-20 06:12:09 +08:00
|
|
|
textContent: _toDisplayString(text)
|
|
|
|
}, null, 8 /* PROPS */, [\\"textContent\\"]),
|
2021-06-23 07:15:20 +08:00
|
|
|
_createElementVNode(\\"div\\", { innerHTML: html }, null, 8 /* PROPS */, [\\"innerHTML\\"]),
|
|
|
|
_createElementVNode(\\"div\\", null, \\"test\\"),
|
|
|
|
_createElementVNode(\\"div\\", { style: {\\"color\\":\\"red\\"} }, \\"red\\"),
|
|
|
|
_createElementVNode(\\"div\\", {
|
|
|
|
style: _normalizeStyle({color: 'green'})
|
|
|
|
}, null, 4 /* STYLE */)
|
2019-12-13 09:46:20 +08:00
|
|
|
], 64 /* STABLE_FRAGMENT */))
|
2019-10-11 22:13:55 +08:00
|
|
|
}
|
|
|
|
}"
|
|
|
|
`;
|