Skip to content

Commit 4cbfcfa

Browse files
authored
chore(lint): fix lint spelling issue (#12391)
1 parent bb5fca6 commit 4cbfcfa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/docusaurus-utils/src/__tests__/urlUtils.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,11 +279,11 @@ describe('toURLPath', () => {
279279
});
280280

281281
it('pathname + hash containing a question mark (no query)', () => {
282-
const url = parseURLOrPath('/pathname#hash?notquery');
282+
const url = parseURLOrPath('/pathname#hash?notQuery');
283283
expect(toURLPath(url)).toEqual({
284284
pathname: '/pathname',
285285
search: undefined,
286-
hash: 'hash?notquery',
286+
hash: 'hash?notQuery',
287287
});
288288
});
289289
});

0 commit comments

Comments
 (0)