Failed after

SSheraff
View latest

fix(router-core): skip descendant lifecycle callbacks

81657963ad6Open on GitHub

Self-Healing CI

Classification: Code change neededFix generatedVerified 1 task

We update the keeps a hidden child matched without projecting it below a parent error test assertion to align with the PR's intended behavior change: descendants below an error/not-found boundary should no longer receive onEnter callbacks. The previous assertion (toHaveBeenCalledTimes(1)) reflected the old traversal behavior where the loop continued through all matches regardless of boundary status; the fix changes it to not.toHaveBeenCalled() to match the new runRouteLifecycle break semantics.

Commit"test(router-core): update boundary callback assertion for lifecycle fix"

1 file changed