Skip to content

Commit 22f4f68

Browse files
Update Test Case
1 parent d3ab2dc commit 22f4f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jest/utils.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ describe('Utils', () => {
148148
});
149149

150150
it('should handle non-standard characters or malformed urls', () => {
151-
const malformedUrl = 'https://www.example.com?foo=bar&baz=qux&narf=poit&param0=你好&*;<script>alert("hi")</script>&http://a.com/?c=7&d=8#!/asd+/%^^%zz%%%world你好&param1&param2=&param3=%E0%A4%A&param4=value1=value2';
151+
const malformedUrl = 'https://www.example.com?foo=bar&baz=qux&mal=%E0%A4%A&narf=poit&param0=你好&*;<script>alert("hi")</script>&http://a.com/?c=7&d=8#!/asd+/%^^%zz%%%world你好&param1&param2=&param3=%E0%A4%A&param4=value1=value2&param5=a%AFc';
152152
const keys = [
153153
'foo',
154154
'narf',

0 commit comments

Comments
 (0)