Skip to content

Commit

Permalink
test: fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Aug 24, 2022
1 parent 654dad8 commit 0e7023c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data-fetching/defineLoader.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { setCurrentContext } from './dataCache'

vi.mock('vue-router', async () => {
const { createRouter, createMemoryHistory, START_LOCATION, ...rest } =
await vi.importActual('vue-router')
await vi.importActual<typeof import('vue-router')>('vue-router')

let route: RouteLocationNormalizedLoaded = { ...START_LOCATION }

Expand Down

0 comments on commit 0e7023c

Please sign in to comment.