@@ -27,8 +27,8 @@ describe('Request object version 1.0', () => {
27
27
'd[1]' : '1' ,
28
28
'd[0]' : '0' ,
29
29
'shoe[color]' : 'yellow' ,
30
- email : 'test%2Buser%40gmail .com' ,
31
- math : '1%2B2 '
30
+ email : 'test+user@gmail .com' ,
31
+ math : '1+2 '
32
32
} ,
33
33
multiValueQueryStringParameters : {
34
34
a : [ '1' ] ,
@@ -37,8 +37,8 @@ describe('Request object version 1.0', () => {
37
37
'd[1]' : [ '1' ] ,
38
38
'd[0]' : [ '0' ] ,
39
39
'shoe[color]' : [ 'yellow' ] ,
40
- email : [ 'test%2Buser%40gmail .com' ] ,
41
- math : [ '1%2B2 ' , '4%2B5 ' ]
40
+ email : [ 'test+user@gmail .com' ] ,
41
+ math : [ '1+2 ' , '4+5 ' ]
42
42
} ,
43
43
stageVariables : { } ,
44
44
requestContext : { } ,
@@ -200,7 +200,8 @@ describe('Request object version 2.0', () => {
200
200
routeKey : '$default' ,
201
201
rawPath : '/my/path' ,
202
202
rawQueryString :
203
- 'a=1&b=1&b=2&c[]=-firstName&c[]=lastName&d[1]=1&d[0]=0&shoe[color]=yellow&email=test%2Buser%40gmail.com&math=1%2B2&&math=4%2B5&' ,
203
+ 'a=1&b=1&b=2&c[]=-firstName&c[]=lastName&d[1]=1&d[0]=0&shoe[color]=yellow&[email protected] &math=1+2&&math=4+5&' ,
204
+
204
205
cookies : [ 'cookie1' , 'cookie2' ] ,
205
206
headers : {
206
207
'Content-Type' : 'application/json' ,
@@ -214,8 +215,8 @@ describe('Request object version 2.0', () => {
214
215
'd[1]' : '1' ,
215
216
'd[0]' : '0' ,
216
217
'shoe[color]' : 'yellow' ,
217
- email : 'test%2Buser%40gmail .com' ,
218
- math : '1%2B2 '
218
+ email : 'test+user@gmail .com' ,
219
+ math : '1+2 '
219
220
} ,
220
221
requestContext : {
221
222
accountId : '123456789012' ,
0 commit comments