-
Notifications
You must be signed in to change notification settings - Fork 699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unnecessary kolibri store in tests #11852
Unnecessary kolibri store in tests #11852
Conversation
Use responsive composable instead of mixin to fix errors from the mixin.
Release v0.16.x
Build Artifacts
|
Excellent - this definitely removes some unnecessary references! The main question now is just confirming there are no other places that we could do this cleanup. I will take a quick glance through your PR code checked out locally to double check! |
From a quick grep, I suspect there may be more instances we could tidy up here. I searched for |
@rtibbles i have made some changes |
Excellent, this seems to have much wider coverage! |
* Use responsive composable instead of mixin to fix errors from the mixin. * fix:unnecessary-Kolibri-store-in-tests * Update CardGrid.vue * Update CardGrid.vue * fix:unnecessary-Kolibri-store-in-tests * Update utils.js
Summary
This PR addresses issue #11725 by removing unnecessary uses of the core Kolibri store in JavaScript test files. With the introduction of custom theming, the theming state was initially added to the core Vuex state. However, the reactive theming state has been extracted from Vuex and now lives independently. Consequently, injecting the store into component tests is no longer needed.
References
fixes #11725