Skip to content

refactor: drop recordPropMetadata + merge renderEffect #2468

refactor: drop recordPropMetadata + merge renderEffect

refactor: drop recordPropMetadata + merge renderEffect #2468

Triggered via pull request December 6, 2024 13:31
Status Failure
Total duration 1m 36s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
packages/runtime-vapor/__tests__/apiSetupContext.spec.ts > api: setup context > context.attrs: packages/runtime-vapor/src/dom/prop.ts#L144
TypeError: Cannot read properties of undefined (reading 'length') ❯ Module.setDynamicProps packages/runtime-vapor/src/dom/prop.ts:144:22 ❯ packages/runtime-vapor/__tests__/apiSetupContext.spec.ts:81:28 ❯ EffectScope.run packages/reactivity/src/effectScope.ts:93:16 ❯ cb packages/runtime-vapor/src/renderEffect.ts:22:22 ❯ cb packages/runtime-vapor/src/renderEffect.ts:29:7 ❯ callWithErrorHandling packages/runtime-vapor/src/errorHandling.ts:77:32 ❯ Module.callWithAsyncErrorHandling packages/runtime-vapor/src/errorHandling.ts:91:17 ❯ ReactiveEffect.fn packages/runtime-vapor/src/renderEffect.ts:36:5 ❯ ReactiveEffect.run packages/reactivity/src/effect.ts:167:19 ❯ Module.renderEffect packages/runtime-vapor/src/renderEffect.ts:48:10
packages/runtime-vapor/__tests__/apiSetupContext.spec.ts > api: setup context > context.attrs: scripts/setup-vitest.ts#L101
Error: test case threw unexpected warnings: - [Vue warn]: Unhandled error during execution of render function - [Vue warn]: Unhandled error during execution of setup function - [Vue warn]: Unhandled error during execution of render function ❯ scripts/setup-vitest.ts:101:11
packages/runtime-vapor/__tests__/apiSetupContext.spec.ts > api: setup context > context.attrs in child component slots: packages/runtime-vapor/src/dom/prop.ts#L154
TypeError: Cannot read properties of undefined (reading '0') ❯ Module.setDynamicProps packages/runtime-vapor/src/dom/prop.ts:154:27 ❯ packages/runtime-vapor/__tests__/apiSetupContext.spec.ts:118:32 ❯ EffectScope.run packages/reactivity/src/effectScope.ts:93:16 ❯ cb packages/runtime-vapor/src/renderEffect.ts:22:22 ❯ cb packages/runtime-vapor/src/renderEffect.ts:29:7 ❯ callWithErrorHandling packages/runtime-vapor/src/errorHandling.ts:77:32 ❯ Module.callWithAsyncErrorHandling packages/runtime-vapor/src/errorHandling.ts:91:17 ❯ ReactiveEffect.fn packages/runtime-vapor/src/renderEffect.ts:36:5 ❯ ReactiveEffect.run packages/reactivity/src/effect.ts:167:19 ❯ Module.renderEffect packages/runtime-vapor/src/renderEffect.ts:48:10
packages/runtime-vapor/__tests__/apiSetupContext.spec.ts > api: setup context > context.attrs in child component slots: scripts/setup-vitest.ts#L101
Error: test case threw unexpected warnings: - [Vue warn]: Unhandled error during execution of render function - [Vue warn]: Unhandled error during execution of setup function - [Vue warn]: Unhandled error during execution of setup function - [Vue warn]: Unhandled error during execution of render function ❯ scripts/setup-vitest.ts:101:11
packages/runtime-vapor/__tests__/componentAttrs.spec.ts > attribute fallthrough > should allow attrs to fallthrough: packages/runtime-vapor/__tests__/componentAttrs.spec.ts#L49
AssertionError: expected '<div>1</div>' to be '<div id="a">1</div>' // Object.is equality Expected: "<div id="a">1</div>" Received: "<div>1</div>" ❯ packages/runtime-vapor/__tests__/componentAttrs.spec.ts:49:28
packages/runtime-vapor/__tests__/componentAttrs.spec.ts > attribute fallthrough > should pass through attrs in nested single root components: packages/runtime-vapor/__tests__/componentAttrs.spec.ts#L154
AssertionError: expected '<div>1</div>' to be '<div foo="1" id="a">1</div>' // Object.is equality Expected: "<div foo="1" id="a">1</div>" Received: "<div>1</div>" ❯ packages/runtime-vapor/__tests__/componentAttrs.spec.ts:154:28
packages/runtime-vapor/__tests__/componentProps.spec.ts > component: props > optimized props updates: packages/runtime-vapor/__tests__/componentProps.spec.ts#L251
AssertionError: expected '<div>1</div>' to be '<div id="a">1</div>' // Object.is equality Expected: "<div id="a">1</div>" Received: "<div>1</div>" ❯ packages/runtime-vapor/__tests__/componentProps.spec.ts:251:28
packages/runtime-vapor/__tests__/dom/prop.spec.ts > patchProp > setStyle > should set style: packages/runtime-vapor/__tests__/dom/prop.spec.ts#L82
AssertionError: expected '' to be 'color: red;' // Object.is equality - Expected + Received - color: red; ❯ packages/runtime-vapor/__tests__/dom/prop.spec.ts:82:32
packages/runtime-vapor/__tests__/dom/prop.spec.ts > patchProp > setStyle > should work with camelCase: packages/runtime-vapor/__tests__/dom/prop.spec.ts#L88
AssertionError: expected '' to be 'font-size: 12px;' // Object.is equality - Expected + Received - font-size: 12px; ❯ packages/runtime-vapor/__tests__/dom/prop.spec.ts:88:32
packages/runtime-vapor/__tests__/dom/prop.spec.ts > patchProp > setStyle > shoud set style with object and array property: packages/runtime-vapor/__tests__/dom/prop.spec.ts#L94
AssertionError: expected '' to be 'color: red;' // Object.is equality - Expected + Received - color: red; ❯ packages/runtime-vapor/__tests__/dom/prop.spec.ts:94:32
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