Utilizing Vite + Vue and Cypress Component Test Runner, how would you stub a composable function since you can't stub the default export?
I can't find a decent example that doesn't utilize Babel, and the only solution we have come up with is exporting an object with methods that can be stubbed, which, to be honest, would be a large refactor.
// Composable function
import { ref } from 'vue'
export default function useToggle (initialValue = false) {
const enabled = ref(initialValue)