Skip to content

refactor: rename getCurrentSub and setCurrentSub to getActiveSub and … #924

refactor: rename getCurrentSub and setCurrentSub to getActiveSub and …

refactor: rename getCurrentSub and setCurrentSub to getActiveSub and … #924

Triggered via push September 27, 2025 05:17
Status Failure
Total duration 17s
Artifacts

test.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

6 errors
build (22, macos-latest)
Process completed with exit code 1.
tests/untrack.spec.ts > should pause tracking in effect scope: tests/untrack.spec.ts#L66
TypeError: (0 , setCurrentSub) is not a function ❯ Object.fn tests/untrack.spec.ts:66:23 ❯ effect src/index.ts:147:5 ❯ tests/untrack.spec.ts:64:3 ❯ effectScope src/index.ts:168:3 ❯ tests/untrack.spec.ts:63:2
tests/untrack.spec.ts > should pause tracking in effect: tests/untrack.spec.ts#L32
TypeError: (0 , setCurrentSub) is not a function ❯ Object.fn tests/untrack.spec.ts:32:23 ❯ run src/index.ts:224:18 ❯ flush src/index.ts:247:3 ❯ Object.signalOper src/index.ts:295:6 ❯ tests/untrack.spec.ts:40:2
tests/untrack.spec.ts > should pause tracking in computed: tests/untrack.spec.ts#L10
TypeError: (0 , setCurrentSub) is not a function ❯ Object.getter tests/untrack.spec.ts:10:22 ❯ Object.computedOper src/index.ts:275:22 ❯ tests/untrack.spec.ts:16:9
tests/issue_48.spec.ts > #48: tests/issue_48.spec.ts#L91
TypeError: (0 , setCurrentSub) is not a function ❯ untracked tests/issue_48.spec.ts:91:21 ❯ Object.fn tests/issue_48.spec.ts:71:3 ❯ run src/index.ts:224:18 ❯ flush src/index.ts:247:3 ❯ Object.signalOper src/index.ts:295:6 ❯ tests/issue_48.spec.ts:22:2
tests/effect.spec.ts > should duplicate subscribers do not affect the notify order: tests/effect.spec.ts#L190
TypeError: (0 , setCurrentSub) is not a function ❯ Object.fn tests/effect.spec.ts:190:22 ❯ effect src/index.ts:147:5 ❯ tests/effect.spec.ts:188:2