Skip to content

Add lazy to watch function #12963

Add lazy to watch function

Add lazy to watch function #12963

Triggered via pull request September 19, 2024 22:17
Status Failure
Total duration 1m 34s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
packages/reactivity/__tests__/effectScope.spec.ts > reactivity/effect/scope > test with higher level APIs: packages/reactivity/__tests__/effectScope.spec.ts#L257
AssertionError: expected "spy" to be called 1 times, but got 3 times ❯ packages/reactivity/__tests__/effectScope.spec.ts:257:28
packages/runtime-core/__tests__/apiWatch.spec.ts > api: watch > should not unwrap refs in a reactive source array: packages/runtime-core/__tests__/apiWatch.spec.ts#L115
AssertionError: expected "spy" to be called 1 times, but got 3 times ❯ packages/runtime-core/__tests__/apiWatch.spec.ts:115:17
packages/runtime-core/__tests__/apiWatch.spec.ts > api: watch > directly watching reactive array with explicit deep: false: packages/runtime-core/__tests__/apiWatch.spec.ts#L220
AssertionError: expected "spy" to be called 1 times, but got 3 times ❯ packages/runtime-core/__tests__/apiWatch.spec.ts:220:17
packages/runtime-core/__tests__/apiWatch.spec.ts > api: watch > cleanup registration (effect): packages/runtime-core/__tests__/apiWatch.spec.ts#L447
AssertionError: expected "spy" to be called 1 times, but got 3 times ❯ packages/runtime-core/__tests__/apiWatch.spec.ts:447:21
packages/runtime-core/__tests__/apiWatch.spec.ts > api: watch > onWatcherCleanup: packages/runtime-core/__tests__/apiWatch.spec.ts#L492
AssertionError: expected "spy" to be called 1 times, but got 3 times ❯ packages/runtime-core/__tests__/apiWatch.spec.ts:492:27
packages/runtime-core/__tests__/apiWatch.spec.ts > api: watch > flush timing: pre (default): packages/runtime-core/__tests__/apiWatch.spec.ts#L535
AssertionError: expected "spy" to be called 1 times, but got 3 times ❯ packages/runtime-core/__tests__/apiWatch.spec.ts:535:23
packages/runtime-core/__tests__/apiWatch.spec.ts > api: watch > flush timing: post: packages/runtime-core/__tests__/apiWatch.spec.ts#L568
AssertionError: expected "spy" to be called 1 times, but got 3 times ❯ packages/runtime-core/__tests__/apiWatch.spec.ts:568:23
packages/runtime-core/__tests__/apiWatch.spec.ts > api: watch > watchPostEffect: packages/runtime-core/__tests__/apiWatch.spec.ts#L594
AssertionError: expected "spy" to be called 1 times, but got 3 times ❯ packages/runtime-core/__tests__/apiWatch.spec.ts:594:23
packages/runtime-core/__tests__/apiWatch.spec.ts > api: watch > flush timing: sync: packages/runtime-core/__tests__/apiWatch.spec.ts#L638
AssertionError: expected "spy" to be called 1 times, but got 3 times ❯ packages/runtime-core/__tests__/apiWatch.spec.ts:638:23
packages/runtime-core/__tests__/apiWatch.spec.ts > api: watch > watchSyncEffect: packages/runtime-core/__tests__/apiWatch.spec.ts#L680
AssertionError: expected "spy" to be called 1 times, but got 3 times ❯ packages/runtime-core/__tests__/apiWatch.spec.ts:680:23