From: Eduardo San Martin Morote Date: Tue, 12 May 2020 14:25:26 +0000 (+0200) Subject: test: remove old test X-Git-Tag: v4.0.0-alpha.12~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abc16d4d38cbea7ae0417bdff20f232b7d416d98;p=thirdparty%2Fvuejs%2Frouter.git test: remove old test --- 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('')