<commit_before>import Vue from 'vue'
import Router from 'vue-router'
import slugify from 'slugify'
import { refreshLoginStatus } from '@/auth'

Vue.use(Router)

export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [
    {
      path: '/register',
      name: 'register',
      components: {
        topbar: () => import(/* webpackChunkName: "navigation" */ './views/auth/NavDesktop'),
        default: () => import(/* webpackChunkName: "register" */ './views/auth/Register')
      }
    },
    {
      path: '/register-done',
      name: 'register-done',
      components: {
        topbar: () => import(/* webpackChunkName: "navigation" */ './views/auth/NavDesktop'),
        default: () => import(/* webpackChunkName: "register" */ './views/auth/RegisterDone')
      }
    },
    {
      path: '/login',
      name: 'login',
      components: {
        topbar: () => import(/* webpackChunkName: "navigation" */ './views/auth/NavDesktop'),
        default: () => import(/* webpackChunkName: "login" */ './views/auth/Login')
      }
    },<commit_msg>The router-definition can't really be tested<commit_after>import Vue from 'vue'
import Router from 'vue-router'
import slugify from 'slugify'
import { refreshLoginStatus } from '@/auth'

Vue.use(Router)

/* istanbul ignore next */
export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [
    {
      path: '/register',
      name: 'register',
      components: {
        topbar: () => import(/* webpackChunkName: "navigation" */ './views/auth/NavDesktop'),
        default: () => import(/* webpackChunkName: "register" */ './views/auth/Register')
      }
    },
    {
      path: '/register-done',
      name: 'register-done',
      components: {
        topbar: () => import(/* webpackChunkName: "navigation" */ './views/auth/NavDesktop'),
        default: () => import(/* webpackChunkName: "register" */ './views/auth/RegisterDone')
      }
    },
    {
      path: '/login',
      name: 'login',
      components: {
        topbar: () => import(/* webpackChunkName: "navigation" */ './views/auth/NavDesktop'),
        default: () => import(/* webpackChunkName: "login" */ './views/auth/Login')
      }
    },
{'fraction_non_alphanumeric': 0.18312387791741472, 'fraction_numerical': 0.0, 'mean_word_length': 2.6185064935064934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3269593', 'n_tokens_mistral': 690, 'n_tokens_neox': 684, 'n_words': 150}