]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: no type warn
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 18 Jul 2022 07:30:37 +0000 (09:30 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 18 Jul 2022 07:30:37 +0000 (09:30 +0200)
packages/router/__tests__/router.spec.ts

index 016becc4ef789892537628baa0bf21a7df77efa2..340b8c00f44319f74bed2bcc140add872f69e6ba 100644 (file)
@@ -158,6 +158,7 @@ describe('Router', () => {
       if (to.name !== 'Foo') {
         return { name: 'Foo', replace: true }
       }
+      return // no warn
     })
     jest.spyOn(history, 'replace')
     jest.spyOn(history, 'push')