import { createUIServerConfig, TEST_HASH_ID, TEST_STATION_ID } from '../../constants.js'
import { ButtonStub, createMockUIClient, type MockUIClient } from '../../helpers.js'
-const mockPush = vi.fn()
+const mockPush = vi.fn().mockResolvedValue(undefined)
const mockRoute = ref<{
name: string
params: Record<string, string>
import { createChargingStationData } from '../../constants.js'
import { createMockUIClient, type MockUIClient } from '../../helpers.js'
-const mockPush = vi.fn()
+const mockPush = vi.fn().mockResolvedValue(undefined)
vi.mock('vue-router', () => ({
useRoute: () => ({ name: 'charging-stations', params: {}, query: {} }),