Skip to content

Commit

Permalink
test: remove snap
Browse files Browse the repository at this point in the history
  • Loading branch information
edison1105 committed Dec 16, 2024
1 parent df9c0d0 commit 1ea6ce2
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,20 +109,6 @@ export function render(_ctx, $props, $emit, $attrs, $slots) {
}"
`;

exports[`compiler: element transform > component > should wrap as function if v-on expression is inline statement 1`] = `
"import { resolveComponent as _resolveComponent, createComponentWithFallback as _createComponentWithFallback } from 'vue';
export function render(_ctx) {
const _component_Foo = _resolveComponent("Foo")
const _component_Bar = _resolveComponent("Bar")
const _on_bar = $event => (_ctx.handleBar($event))
const n0 = _createComponentWithFallback(_component_Foo, { onBar: () => _on_bar })
const _on_bar1 = () => _ctx.handler
const n1 = _createComponentWithFallback(_component_Bar, { onBar: () => _on_bar1 })
return [n0, n1]
}"
`;

exports[`compiler: element transform > component > static props 1`] = `
"import { resolveComponent as _resolveComponent, createComponentWithFallback as _createComponentWithFallback } from 'vue';
Expand Down

0 comments on commit 1ea6ce2

Please sign in to comment.