Skip to content

Commit 0185754

Browse files
committed
add failing test
1 parent 0540fdf commit 0185754

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/body.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ describe("", () => {
249249
"multipart/form-data; boundary=---------------------------12537827810750053901680552518"
250250
)
251251
.send(
252-
'-----------------------------12537827810750053901680552518\r\nContent-Disposition: form-data; name="baz"\r\n\r\nother\r\n-----------------------------12537827810750053901680552518\r\nContent-Disposition: form-data; name="bar"\r\n\r\nsomething\r\n-----------------------------12537827810750053901680552518--\r\n'
252+
'-----------------------------12537827810750053901680552518\r\nContent-Disposition: form-data; name="baz"\r\n\r\nother\r\n-----------------------------12537827810750053901680552518\r\nContent-Disposition: form-data; name="号楼电表数据模版.xlsx"\r\n\r\nsomething\r\n-----------------------------12537827810750053901680552518--\r\n'
253253
);
254254

255255
expect(result.body).toMatchInlineSnapshot(`
@@ -260,7 +260,7 @@ describe("", () => {
260260
},
261261
{
262262
"data": "something",
263-
"name": "bar",
263+
"name": "号楼电表数据模版.xlsx",
264264
},
265265
]
266266
`);

0 commit comments

Comments
 (0)