1 parent bb5fca6 commit 4cbfcfaCopy full SHA for 4cbfcfa
1 file changed
packages/docusaurus-utils/src/__tests__/urlUtils.test.ts
@@ -279,11 +279,11 @@ describe('toURLPath', () => {
279
});
280
281
it('pathname + hash containing a question mark (no query)', () => {
282
- const url = parseURLOrPath('/pathname#hash?notquery');
+ const url = parseURLOrPath('/pathname#hash?notQuery');
283
expect(toURLPath(url)).toEqual({
284
pathname: '/pathname',
285
search: undefined,
286
- hash: 'hash?notquery',
+ hash: 'hash?notQuery',
287
288
289
0 commit comments