Skip to content

Commit

Permalink
chore: tweak test title
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Apr 9, 2024
1 parent d90ed76 commit d0abdee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/__tests__/getStateFromPath.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2722,7 +2722,7 @@ it('throws when invalid properties are specified in the config', () => {
// A–Z, a–z, 0–9, -, ., _, ~, !, $, &, ', (, ), *, +, ,, ;, =, :, @
// User09-A_Z~!$&'()*+,;=:@__#?# - should encode only last ones #?#
// query params after '?' should be encoded fully with encodeURIComponent
it('encoding params correctly', () => {
it('encodes special characters in params', () => {
const paramWithValidSymbols = `User09-A_Z~!$&'()*+,;=:@__`;
const invalidSymbols = '#?[]{}%<>||';
const queryString = 'user#email@gmail.com=2&4';
Expand Down

0 comments on commit d0abdee

Please sign in to comment.