]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: remove logs [skip-ci]
authorEduardo San Martin Morote <posva13@gmail.com>
Sun, 24 May 2020 08:54:32 +0000 (10:54 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Sun, 24 May 2020 08:54:37 +0000 (10:54 +0200)
__tests__/history/hash.spec.ts
__tests__/matcher/pathParser.spec.ts
__tests__/router.spec.ts

index 33305afaadc45ae14b361cad9cdae7c8533353e7..0c08a2b5f2060b4727f9f7b6330973f02132bd5a 100644 (file)
@@ -38,7 +38,6 @@ describe('History Hash', () => {
 
     it('should use a correct base', () => {
       dom.reconfigure({ url: 'https://esm.dev' })
-      console.log(location.host, location.pathname)
       createWebHashHistory()
       // starts with a `/`
       expect(createWebHistory).toHaveBeenCalledWith('/#')
index 2d5d18100de4a3b956cdd8e60ffaefd57bce7f07..2524d0ee8830b16dd8b25a8cf033ad38404fd460 100644 (file)
@@ -347,7 +347,6 @@ describe('Path parser', () => {
     ) {
       const pathParser = tokensToParser(...args)
       const options = args[1] || {}
-      // console.log(pathParser.re)
       expect(
         pathParser.re
           .toString()
index 7100673aeda870e25569c4db6931d7418d00a4f2..c9ed9823bda36dad362864d9999012955f64ad15 100644 (file)
@@ -332,7 +332,6 @@ describe('Router', () => {
         if (++calls > 1000) throw new Error('1000 calls')
         next(to.path)
       })
-      console.log('dev', __DEV__)
       const { router } = await newRouter({
         history,
         routes: [{ path: '/foo', component: components.Home, beforeEnter }],