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

28 lines
554 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": ";;;;UAAA,aACE,YAA8B;IAAzB,YAAmB,oBAAbA,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 [
2019-12-15 11:28:39 +08:00
[SyntaxError: Invalid JavaScript expression.],
[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
]
`;