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
Both tests pass with the expected behaviour and logging
Update vue to 3.3.10 (or higher, currently lts is 3.5.8, but the issue is occurring from 3.3.10)
Run npm i
Run npm run test
The second tests is failing because the component within the ion router outlet is not mounted
What is expected?
I expect the same test output when updating vue to 3.3.10 or higher as when I run the tests with vue 3.3.9
What is actually happening?
Within this commit in vue 3.3.10 caching of rendering has changed. I notice that the render is stored in cache[key] which is not a global variable as compleCache[key] was. The cache is always overwritten in the compileToFunction function and therefore will never be true. This is causing problems in my tests. I'm thinking it is a bug that the render is not assigned to compileCache anymore. Can you fix or elaborate?
Vue version
3.5.8
Link to minimal reproduction
https://gitlab.com/julie41/demo-ionic-vue-router-unittest/-/tree/main
Steps to reproduce
npm i
npm run test
vue
to 3.3.10 (or higher, currently lts is3.5.8
, but the issue is occurring from3.3.10
)npm i
npm run test
What is expected?
I expect the same test output when updating vue to
3.3.10
or higher as when I run the tests with vue3.3.9
What is actually happening?
Within this commit in vue
3.3.10
caching of rendering has changed. I notice that the render is stored incache[key]
which is not a global variable ascompleCache[key]
was. Thecache
is always overwritten in thecompileToFunction
function and therefore will never be true. This is causing problems in my tests. I'm thinking it is a bug that the render is not assigned tocompileCache
anymore. Can you fix or elaborate?System Info
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: