MatcherLocationRaw,
RouteLocationNormalized,
} from '../src/types'
-import { createMemoryHistory } from '../src'
+import { createMemoryHistory, RouterOptions } from '../src'
import { mount, createMockedRoute } from './mount'
import { nextTick } from 'vue'
import { RouteRecordNormalized } from '../src/matcher/types'
createHref(to: RouteLocationNormalized): string {
return this.history.base + to.fullPath
},
+ options: {} as Partial<RouterOptions>,
resolve: jest.fn(),
push: jest.fn().mockResolvedValue(resolvedLocation),
}