From: Eduardo San Martin Morote Date: Sun, 24 May 2020 08:54:32 +0000 (+0200) Subject: chore: remove logs [skip-ci] X-Git-Tag: v4.0.0-alpha.13~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=926c96cb1330c05e4cdc55b4af0fc1c19ee022a0;p=thirdparty%2Fvuejs%2Frouter.git chore: remove logs [skip-ci] --- diff --git a/__tests__/history/hash.spec.ts b/__tests__/history/hash.spec.ts index 33305afa..0c08a2b5 100644 --- a/__tests__/history/hash.spec.ts +++ b/__tests__/history/hash.spec.ts @@ -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('/#') diff --git a/__tests__/matcher/pathParser.spec.ts b/__tests__/matcher/pathParser.spec.ts index 2d5d1810..2524d0ee 100644 --- a/__tests__/matcher/pathParser.spec.ts +++ b/__tests__/matcher/pathParser.spec.ts @@ -347,7 +347,6 @@ describe('Path parser', () => { ) { const pathParser = tokensToParser(...args) const options = args[1] || {} - // console.log(pathParser.re) expect( pathParser.re .toString() diff --git a/__tests__/router.spec.ts b/__tests__/router.spec.ts index 7100673a..c9ed9823 100644 --- a/__tests__/router.spec.ts +++ b/__tests__/router.spec.ts @@ -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 }],