You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling router.isActive, an error is thrown: Cannot read properties of undefined (reading 'isActiveIntent'). Which seems to suggest routerMicrolib is undefined. Calling router.urlFor first, makes the isActive call work. presumably it sets up routerMicrolib.
🐞 Describe the Bug
Here is a demo app with a failing test
When calling
router.isActive
, an error is thrown:Cannot read properties of undefined (reading 'isActiveIntent')
. Which seems to suggestrouterMicrolib
is undefined. Callingrouter.urlFor
first, makes theisActive
call work. presumably it sets uprouterMicrolib
.Stack trace
🔬 Minimal Reproduction
See demo app
😕 Actual Behavior
Error is thrown
🤔 Expected Behavior
isActive should return whether the route is active
🌍 Environment
ember-cli: 5.6.0
node: 18.16.0
os: darwin arm64
➕ Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: