Skip to content

refactor: drop recordPropMetadata + merge renderEffect #2464

refactor: drop recordPropMetadata + merge renderEffect

refactor: drop recordPropMetadata + merge renderEffect #2464

Triggered via pull request December 5, 2024 02:39
Status Failure
Total duration 1m 21s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
packages/compiler-vapor/__tests__/compile.spec.ts > compile > static template: packages/compiler-vapor/__tests__/compile.spec.ts#L26
Error: Snapshot `compile > static template 1` mismatched - Expected + Received - "import { template as _template } from 'vue/vapor'; + "import { renderEffect as _renderEffect, template as _template } from 'vue/vapor'; const t0 = _template("<div><p>hello</p><input><span></span></div>") export function render(_ctx) { const n0 = t0() + _renderEffect(() => { + }) return n0 }" ❯ packages/compiler-vapor/__tests__/compile.spec.ts:26:18
packages/compiler-vapor/__tests__/compile.spec.ts > compile > dynamic root: packages/compiler-vapor/__tests__/compile.spec.ts#L31
Error: Snapshot `compile > dynamic root 1` mismatched - Expected + Received - "import { createTextNode as _createTextNode } from 'vue/vapor'; + "import { createTextNode as _createTextNode, renderEffect as _renderEffect } from 'vue/vapor'; export function render(_ctx) { const n0 = _createTextNode(() => [1, 2]) + _renderEffect(() => { + }) return n0 }" ❯ packages/compiler-vapor/__tests__/compile.spec.ts:31:18
packages/compiler-vapor/__tests__/compile.spec.ts > compile > dynamic root nodes and interpolation: packages/compiler-vapor/__tests__/compile.spec.ts#L38
Error: Snapshot `compile > dynamic root nodes and interpolation 1` mismatched - Expected + Received @@ -4,11 +4,13 @@ export function render(_ctx) { const n0 = t0() _delegate(n0, "click", () => _ctx.handleClick) _setInheritAttrs(["id"]) - let _count - _renderEffect(() => _count !== _ctx.count && _setText(n0, (_count = _ctx.count), "foo", _ctx.count, "foo", _ctx.count)) + _renderEffect(() => { + let _count + _count !== _ctx.count && _setText(n0, (_count = _ctx.count), "foo", _ctx.count, "foo", _ctx.count) - let _count1 + let _count1 - _renderEffect(() => _count1 !== _ctx.count && _setDOMProp(n0, "id", (_count1 = _ctx.count))) + _count1 !== _ctx.count && _setDOMProp(n0, "id", (_count1 = _ctx.count)) + }) return n0 }" ❯ packages/compiler-vapor/__tests__/compile.spec.ts:38:18
packages/compiler-vapor/__tests__/compile.spec.ts > compile > static + dynamic root: packages/compiler-vapor/__tests__/compile.spec.ts#L45
Error: Snapshot `compile > static + dynamic root 1` mismatched - Expected + Received - "import { createTextNode as _createTextNode } from 'vue/vapor'; + "import { createTextNode as _createTextNode, renderEffect as _renderEffect } from 'vue/vapor'; export function render(_ctx) { const n0 = _createTextNode(() => [1, 2, "3", 4, 5, "6", 7, 8, "9", 'A', 'B']) + _renderEffect(() => { + }) return n0 }" ❯ packages/compiler-vapor/__tests__/compile.spec.ts:45:18
packages/compiler-vapor/__tests__/compile.spec.ts > compile > fragment: packages/compiler-vapor/__tests__/compile.spec.ts#L50
Error: Snapshot `compile > fragment 1` mismatched - Expected + Received - "import { template as _template } from 'vue/vapor'; + "import { renderEffect as _renderEffect, template as _template } from 'vue/vapor'; const t0 = _template("<p></p>") const t1 = _template("<span></span>") const t2 = _template("<div></div>") export function render(_ctx) { const n0 = t0() const n1 = t1() const n2 = t2() + _renderEffect(() => { + }) return [n0, n1, n2] }" ❯ packages/compiler-vapor/__tests__/compile.spec.ts:50:18
packages/compiler-vapor/__tests__/compile.spec.ts > compile > bindings: packages/compiler-vapor/__tests__/compile.spec.ts#L59
Error: Snapshot `compile > bindings 1` mismatched - Expected + Received "import { renderEffect as _renderEffect, setText as _setText, template as _template } from 'vue/vapor'; const t0 = _template("<div></div>") export function render(_ctx, $props, $emit, $attrs, $slots) { const n0 = t0() - let _count - _renderEffect(() => _count !== _ctx.count && _setText(n0, "count is ", (_count = _ctx.count), ".")) + _renderEffect(() => { + let _count + _count !== _ctx.count && _setText(n0, "count is ", (_count = _ctx.count), ".") + }) return n0 }" ❯ packages/compiler-vapor/__tests__/compile.spec.ts:59:18
packages/compiler-vapor/__tests__/compile.spec.ts > compile > directives > v-pre > basic: packages/compiler-vapor/__tests__/compile.spec.ts#L72
Error: Snapshot `compile > directives > v-pre > basic 1` mismatched - Expected + Received - "import { setInheritAttrs as _setInheritAttrs, template as _template } from 'vue/vapor'; + "import { setInheritAttrs as _setInheritAttrs, renderEffect as _renderEffect, template as _template } from 'vue/vapor'; const t0 = _template("<div :id=\"foo\"><Comp></Comp>{{ bar }}</div>") export function render(_ctx, $props, $emit, $attrs, $slots) { const n0 = t0() _setInheritAttrs(false) + _renderEffect(() => { + }) return n0 }" ❯ packages/compiler-vapor/__tests__/compile.spec.ts:72:22
packages/compiler-vapor/__tests__/compile.spec.ts > compile > directives > v-pre > should not affect siblings after it: 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,9 +7,11 @@ const n0 = t0() const n3 = t1() const n1 = _createComponent(_component_Comp) const n2 = _createTextNode(() => [_ctx.bar]) _insert([n1, n2], n3) - let _foo - _renderEffect(() => _foo !== _ctx.foo && _setDOMProp(n3, "id", (_foo = _ctx.foo))) + _renderEffect(() => { + let _foo + _foo !== _ctx.foo && _setDOMProp(n3, "id", (_foo = _ctx.foo)) + }) return [n0, n3] }" ❯ packages/compiler-vapor/__tests__/compile.spec.ts:91:22
packages/compiler-vapor/__tests__/compile.spec.ts > compile > directives > v-cloak > basic: packages/compiler-vapor/__tests__/compile.spec.ts#L99
Error: Snapshot `compile > directives > v-cloak > basic 1` mismatched - Expected + Received - "import { template as _template } from 'vue/vapor'; + "import { renderEffect as _renderEffect, template as _template } from 'vue/vapor'; const t0 = _template("<div>test</div>") export function render(_ctx) { const n0 = t0() + _renderEffect(() => { + }) return n0 }" ❯ packages/compiler-vapor/__tests__/compile.spec.ts:99:22
packages/compiler-vapor/__tests__/compile.spec.ts > compile > directives > custom directive > basic: packages/compiler-vapor/__tests__/compile.spec.ts#L111
Error: Snapshot `compile > directives > custom directive > basic 1` mismatched - Expected + Received - "import { withDirectives as _withDirectives, template as _template } from 'vue/vapor'; + "import { withDirectives as _withDirectives, renderEffect as _renderEffect, template as _template } from 'vue/vapor'; const t0 = _template("<div></div>") export function render(_ctx, $props, $emit, $attrs, $slots) { const n0 = t0() _withDirectives(n0, [[_ctx.vExample]]) + _renderEffect(() => { + }) return n0 }" ❯ packages/compiler-vapor/__tests__/compile.spec.ts:111:22
test / lint-and-test-dts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / unit-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / continuous-release
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636