vue3-yuanma/packages/compiler-sfc/__tests__/__snapshots__/compileTemplate.spec.ts.snap

28 lines
580 B
Plaintext
Raw Normal View History

2019-12-11 22:26:14 +08:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`source map 1`] = `
Object {
"mappings": ";;;wBACE,oBAA8B;IAAzB,oBAAmB,4BAAbA,WAAM",
2019-12-11 22:26:14 +08:00
"names": Array [
"render",
],
"sources": Array [
"example.vue",
],
"sourcesContent": Array [
"
<div><p>{{ render }}</p></div>
",
],
"version": 3,
}
`;
exports[`template errors 1`] = `
Array [
2020-02-28 06:15:51 +08:00
[SyntaxError: Error parsing JavaScript expression: Unexpected token (1:3)],
2019-12-15 11:28:39 +08:00
[SyntaxError: v-bind is missing expression.],
[SyntaxError: v-model can only be used on <input>, <textarea> and <select> elements.],
2019-12-11 22:26:14 +08:00
]
`;