import * as components from "vuetify/components";
import * as directives from "vuetify/directives";
const vuetify = createVuetify({
components,
directives,
});
export const customMount = (
component: any,
options: RenderOptions | undefined = {},
globalOptions: any = {},
) => {
return mount(component, {
...options,
global: {
plugins: [vuetify],
...globalOptions,
},
});
};