wip: save #14227
Annotations
10 errors and 1 warning
Run unit tests:
packages/compiler-vapor/__tests__/compile.spec.ts#L38
Error: Snapshot `compile > dynamic root nodes and interpolation 1` mismatched
- Expected
+ Received
@@ -4,10 +4,11 @@
export function render(_ctx) {
const n0 = t0()
_delegate(n0, "click", () => _ctx.handleClick)
_renderEffect(() => {
- _setText(n0, _ctx.count, "foo", _ctx.count, "foo", _ctx.count)
+ const _count = _ctx.count;
+ _setText(n0, _count, "foo", _count, "foo", _count)
- _setProp(n0, "id", _ctx.count)
+ _setProp(n0, "id", _count)
})
return n0
}"
❯ packages/compiler-vapor/__tests__/compile.spec.ts:38:18
|
Run unit tests:
packages/compiler-vapor/__tests__/compile.spec.ts#L59
Error: Snapshot `compile > bindings 1` mismatched
- Expected
+ Received
"import { setText as _setText, renderEffect as _renderEffect, template as _template } from 'vue';
const t0 = _template("<div></div>", true)
export function render(_ctx, $props, $emit, $attrs, $slots) {
const n0 = t0()
- _renderEffect(() => _setText(n0, "count is ", _ctx.count, "."))
+ _renderEffect(() => const _count = _ctx.count;
+ _setText(n0, "count is ", _count, "."))
return n0
}"
❯ packages/compiler-vapor/__tests__/compile.spec.ts:59:18
|
Run unit tests:
packages/compiler-vapor/__tests__/compile.spec.ts#L91
Error: Snapshot `compile > directives > v-pre > should not affect siblings after it 1` mismatched
- Expected
+ Received
@@ -7,8 +7,9 @@
const n0 = t0()
const n3 = t1()
const n1 = _createComponentWithFallback(_component_Comp)
const n2 = _createTextNode(() => [_ctx.bar])
_insert([n1, n2], n3)
- _renderEffect(() => _setProp(n3, "id", _ctx.foo))
+ _renderEffect(() => const _foo = _ctx.foo;
+ _setProp(n3, "id", _foo))
return [n0, n3]
}"
❯ packages/compiler-vapor/__tests__/compile.spec.ts:91:22
|
Run unit tests:
packages/compiler-vapor/__tests__/compile.spec.ts#L195
Error: Snapshot `compile > expression parsing > v-bind 1` mismatched
- Expected
+ Received
"
const n0 = t0()
- _renderEffect(() => _setDynamicProps(n0, [{ [key.value+1]: _unref(foo)[key.value+1]() }], true))
+ _renderEffect(() => {
+ const _key_1 = key.value+1;
+ const _foo_key_1_ = _unref(foo)[key.value+1]();
+ _setDynamicProps(n0, [{ [_key_1]: _foo_key_1_ }], true)
+ })
return n0
"
❯ packages/compiler-vapor/__tests__/compile.spec.ts:195:20
|
Run unit tests:
packages/compiler-vapor/__tests__/transforms/transformChildren.spec.ts#L30
Error: Snapshot `compiler: children transform > children & sibling references 1` mismatched
- Expected
+ Received
@@ -7,10 +7,12 @@
const n3 = _next(n0, 2)
const n2 = n3.nextSibling
const n1 = _createTextNode(() => [_ctx.second, " ", _ctx.third, " "])
_insert(n1, n4, n3)
_renderEffect(() => {
- _setText(n0, _ctx.first)
+ const _first = _ctx.first;
+ const _forth = _ctx.forth;
+ _setText(n0, _first)
- _setText(n2, _ctx.forth)
+ _setText(n2, _forth)
})
return n4
}"
❯ packages/compiler-vapor/__tests__/transforms/transformChildren.spec.ts:30:18
|
Run unit tests:
packages/compiler-vapor/__tests__/transforms/transformElement.spec.ts#L547
Error: Snapshot `compiler: element transform > v-bind="obj" 1` mismatched
- Expected
+ Received
"import { setDynamicProps as _setDynamicProps, renderEffect as _renderEffect, template as _template } from 'vue';
const t0 = _template("<div></div>", true)
export function render(_ctx) {
const n0 = t0()
- _renderEffect(() => _setDynamicProps(n0, [_ctx.obj], true))
+ _renderEffect(() => const _obj = _ctx.obj;
+ _setDynamicProps(n0, [_obj], true))
return n0
}"
❯ packages/compiler-vapor/__tests__/transforms/transformElement.spec.ts:547:18
|
Run unit tests:
packages/compiler-vapor/__tests__/transforms/transformElement.spec.ts#L582
Error: Snapshot `compiler: element transform > v-bind="obj" after static prop 1` mismatched
- Expected
+ Received
"import { setDynamicProps as _setDynamicProps, renderEffect as _renderEffect, template as _template } from 'vue';
const t0 = _template("<div></div>", true)
export function render(_ctx) {
const n0 = t0()
- _renderEffect(() => _setDynamicProps(n0, [{ id: "foo" }, _ctx.obj], true))
+ _renderEffect(() => const _obj = _ctx.obj;
+ _setDynamicProps(n0, [{ id: "foo" }, _obj], true))
return n0
}"
❯ packages/compiler-vapor/__tests__/transforms/transformElement.spec.ts:582:18
|
Run unit tests:
packages/compiler-vapor/__tests__/transforms/transformElement.spec.ts#L620
Error: Snapshot `compiler: element transform > v-bind="obj" before static prop 1` mismatched
- Expected
+ Received
"import { setDynamicProps as _setDynamicProps, renderEffect as _renderEffect, template as _template } from 'vue';
const t0 = _template("<div></div>", true)
export function render(_ctx) {
const n0 = t0()
- _renderEffect(() => _setDynamicProps(n0, [_ctx.obj, { id: "foo" }], true))
+ _renderEffect(() => const _obj = _ctx.obj;
+ _setDynamicProps(n0, [_obj, { id: "foo" }], true))
return n0
}"
❯ packages/compiler-vapor/__tests__/transforms/transformElement.spec.ts:620:18
|
Run unit tests:
packages/compiler-vapor/__tests__/transforms/transformElement.spec.ts#L648
Error: Snapshot `compiler: element transform > v-bind="obj" between static props 1` mismatched
- Expected
+ Received
"import { setDynamicProps as _setDynamicProps, renderEffect as _renderEffect, template as _template } from 'vue';
const t0 = _template("<div></div>", true)
export function render(_ctx) {
const n0 = t0()
- _renderEffect(() => _setDynamicProps(n0, [{ id: "foo" }, _ctx.obj, { class: "bar" }], true))
+ _renderEffect(() => const _obj = _ctx.obj;
+ _setDynamicProps(n0, [{ id: "foo" }, _obj, { class: "bar" }], true))
return n0
}"
❯ packages/compiler-vapor/__tests__/transforms/transformElement.spec.ts:648:18
|
Run unit tests:
packages/compiler-vapor/__tests__/transforms/transformElement.spec.ts#L755
Error: Snapshot `compiler: element transform > props merging: class 1` mismatched
- Expected
+ Received
"import { setClass as _setClass, renderEffect as _renderEffect, template as _template } from 'vue';
const t0 = _template("<div></div>", true)
export function render(_ctx) {
const n0 = t0()
- _renderEffect(() => _setClass(n0, ["foo", { bar: _ctx.isBar }]))
+ _renderEffect(() => const __bar_isBar_ = { bar: _ctx.isBar };
+ _setClass(n0, ["foo", __bar_isBar_]))
return n0
}"
❯ packages/compiler-vapor/__tests__/transforms/transformElement.spec.ts:755:18
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading