From abc16d4d38cbea7ae0417bdff20f232b7d416d98 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Tue, 12 May 2020 16:25:26 +0200 Subject: [PATCH] test: remove old test --- __tests__/history/html5.spec.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/__tests__/history/html5.spec.ts b/__tests__/history/html5.spec.ts index 8f1833ed..03f2b0e1 100644 --- a/__tests__/history/html5.spec.ts +++ b/__tests__/history/html5.spec.ts @@ -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('') -- 2.47.3