]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
test: remove old test
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 12 May 2020 14:25:26 +0000 (16:25 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 12 May 2020 14:25:26 +0000 (16:25 +0200)
__tests__/history/html5.spec.ts

index 8f1833edac92b6c075206925b185d98114e61530..03f2b0e1cfc0acf4f0f9de6ec866ab8728f1fc49 100644 (file)
@@ -27,16 +27,6 @@ describe('History HTMl5', () => {
       element.remove()
   })
 
-  // this problem is very common on hash history when using a regular link
-  // it will push an entry into the history stack with no state.
-  // When navigating back, we will try to read `state` but it will be null
-  it('should not fail if an entry has an empty state', () => {
-    const history = createWebHistory()
-    expect(history.location).toEqual({
-      fullPath: '/',
-    })
-  })
-
   it('handles a basic base', () => {
     expect(createWebHistory().base).toBe('')
     expect(createWebHistory('/').base).toBe('')