()
| 112 | // constantRoutes.push( { path: '*', redirect: '/404', hidden: true }) |
| 113 | |
| 114 | const createRouter = () => new Router({ |
| 115 | // mode: 'history', // require service support |
| 116 | scrollBehavior: () => ({ y: 0 }), |
| 117 | routes: constantRoutes |
| 118 | }) |
| 119 | |
| 120 | const router = createRouter() |
| 121 |
no outgoing calls
no test coverage detected