Skip to content

Commit

Permalink
chore(types): add test for apis
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Sep 3, 2019
1 parent ca198e5 commit 3235e0c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions types/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ path = vm.switchLocalePath(locale)
// getRouteBaseName

const routeBaseName: string = vm.getRouteBaseName(vm.$route)

// $i18n

const cookieLocale: string | undefined = vm.$i18n.getLocaleCookie()
vm.$i18n.setLocaleCookie(locale)
vm.$i18n.setLocale(locale)

0 comments on commit 3235e0c

Please sign in to comment.