I replaced pinia with a custom composable “useSettings”. In my playwright tests, I was able to access Pinia like this:
window.__NUXT__?.pinia.myStore
Now when I try to use my composable inside my tests, I am getting the error “useSettings is not defined”.
How can I import it? ????