Skip to content

Commit babfe1b

Browse files
committed
ci: update spec file
1 parent da8c015 commit babfe1b

File tree

1 file changed

+23
-19
lines changed

1 file changed

+23
-19
lines changed

packages/compiler-vapor/__tests__/transforms/__snapshots__/transformSlotOutlet.spec.ts.snap

+23-19
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ exports[`compiler: transform <slot> outlets > default slot outlet with props 1`]
2626
"import { createSlot as _createSlot } from 'vue/vapor';
2727
2828
export function render(_ctx) {
29-
const n0 = _createSlot("default", [{
30-
foo: () => ("bar"),
31-
baz: () => (_ctx.qux),
32-
fooBar: () => (_ctx.foo-_ctx.bar)
33-
}])
29+
const n0 = _createSlot("default", [
30+
{
31+
foo: () => ("bar"),
32+
baz: () => (_ctx.qux),
33+
fooBar: () => (_ctx.foo-_ctx.bar)
34+
}
35+
])
3436
return n0
3537
}"
3638
`;
@@ -88,10 +90,12 @@ exports[`compiler: transform <slot> outlets > statically named slot outlet with
8890
"import { createSlot as _createSlot } from 'vue/vapor';
8991
9092
export function render(_ctx) {
91-
const n0 = _createSlot("foo", [{
92-
foo: () => ("bar"),
93-
baz: () => (_ctx.qux)
94-
}])
93+
const n0 = _createSlot("foo", [
94+
{
95+
foo: () => ("bar"),
96+
baz: () => (_ctx.qux)
97+
}
98+
])
9599
return n0
96100
}"
97101
`;
@@ -100,11 +104,11 @@ exports[`compiler: transform <slot> outlets > statically named slot outlet with
100104
"import { createSlot as _createSlot } from 'vue/vapor';
101105
102106
export function render(_ctx) {
103-
const n0 = _createSlot("foo", [{
104-
foo: () => ("bar")
105-
}, () => (_ctx.obj), {
106-
baz: () => (_ctx.qux)
107-
}])
107+
const n0 = _createSlot("foo", [
108+
{ foo: () => ("bar") },
109+
() => (_ctx.obj),
110+
{ baz: () => (_ctx.qux) }
111+
])
108112
return n0
109113
}"
110114
`;
@@ -114,11 +118,11 @@ exports[`compiler: transform <slot> outlets > statically named slot outlet with
114118
import { createSlot as _createSlot } from 'vue/vapor';
115119
116120
export function render(_ctx) {
117-
const n0 = _createSlot("default", [{
118-
onClick: () => _ctx.foo
119-
}, () => (_toHandlers(_ctx.bar)), {
120-
baz: () => (_ctx.qux)
121-
}])
121+
const n0 = _createSlot("default", [
122+
{ onClick: () => _ctx.foo },
123+
() => (_toHandlers(_ctx.bar)),
124+
{ baz: () => (_ctx.qux) }
125+
])
122126
return n0
123127
}"
124128
`;

0 commit comments

Comments
 (0)