How to test Quasar boot files?

My boot file connects router with Vue i18n.

src/boot/i18n.js:

import { boot } from 'quasar/wrappers'
import { createI18n } from 'vue-i18n'
import { i18nBootConfig, qDefaultLangPack } from 'src/i18n/config'
import { guessLocale } from 'src/helpers/lang'
import { Lang } from 'quasar'

export default boot(async ({ app, router, ssrContext }) => {
  const i18n = createI18n(i18nBootConfig)
  // Set i18n instance on app
  app.use(i18n)
  Lang.set(qDefaultLangPack)

  router.beforeEach(async (to, _from, next) => {
    await guessLocale({ globalI18n: i18n.global, route: to, ssrContext })
    return next()
  })
})

I wonder how can I test this connection with Vitest?