test(reactivity): add test case for effectScope (#4239)
This commit is contained in:
@@ -98,7 +98,7 @@ export function onScopeDispose(fn: () => void) {
|
||||
activeEffectScope.cleanups.push(fn)
|
||||
} else if (__DEV__) {
|
||||
warn(
|
||||
`onDispose() is called when there is no active effect scope ` +
|
||||
`onDispose() is called when there is no active effect scope` +
|
||||
` to be associated with.`
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user