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
As I am currently using the Provide / Inject feature, I am wondering how to go about mocking the injected object, example in my code I have:
// in dashboard.vueconst{ error, data }=awaitsettingsStore.refreshRemoteSettings();// we refresh the user settings stateprovide(REMOTE_SETTINGS,data);// in my composableconstsettings=inject(REMOTE_SETTINGS);
is there a way to achieve this currently with Viteest? and can we have a helper like mockInject or mockProvide ?
The text was updated successfully, but these errors were encountered:
As I am currently using the Provide / Inject feature, I am wondering how to go about mocking the injected object, example in my code I have:
is there a way to achieve this currently with Viteest? and can we have a helper like
mockInject
ormockProvide
?The text was updated successfully, but these errors were encountered: