diff --git a/__tests__/location.spec.ts b/__tests__/location.spec.ts index 6e1ea82ca..b848ebbbe 100644 --- a/__tests__/location.spec.ts +++ b/__tests__/location.spec.ts @@ -134,6 +134,12 @@ describe('parseURL', () => { }) it('parses ? after the hash', () => { + expect(parseURL('/foo#?a=one')).toEqual({ + fullPath: '/foo#?a=one', + path: '/foo', + hash: '#?a=one', + query: {}, + }) expect(parseURL('/foo/#?a=one')).toEqual({ fullPath: '/foo/#?a=one', path: '/foo/',