Skip to content

Commit 8ff9ef3

Browse files
committed
test: make TypeScript happy 🤷🏾‍♀️
1 parent 4773b28 commit 8ff9ef3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/request.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,14 +214,14 @@ x//0u+zd/R/QRUzLOw4N72/Hu+UG6MNt5iDZFCtapRaKt6OvSBwy8w==
214214
status: 200,
215215
headers: {
216216
"Content-Type": "application/json; charset=utf-8",
217-
"Content-Length": 19137
217+
"Content-Length": "19137"
218218
}
219219
})
220220
.head("https://api.github.com/repos/whatwg/html/pulls/2", {
221221
status: 404,
222222
headers: {
223223
"Content-Type": "application/json; charset=utf-8",
224-
"Content-Length": 120
224+
"Content-Length": "120"
225225
}
226226
});
227227

@@ -266,7 +266,7 @@ x//0u+zd/R/QRUzLOw4N72/Hu+UG6MNt5iDZFCtapRaKt6OvSBwy8w==
266266
),
267267
headers: {
268268
"content-type": "application/x-gzip",
269-
"content-length": 172
269+
"content-length": "172"
270270
}
271271
}
272272
);
@@ -301,7 +301,7 @@ x//0u+zd/R/QRUzLOw4N72/Hu+UG6MNt5iDZFCtapRaKt6OvSBwy8w==
301301
),
302302
headers: {
303303
"content-type": "application/x-gzip",
304-
"content-length": 172
304+
"content-length": "172"
305305
}
306306
}
307307
);
@@ -367,7 +367,7 @@ x//0u+zd/R/QRUzLOw4N72/Hu+UG6MNt5iDZFCtapRaKt6OvSBwy8w==
367367
status: 200,
368368
body: "# hello-world",
369369
headers: {
370-
"content-length": 13,
370+
"content-length": "13",
371371
"content-type": "application/vnd.github.v3.raw; charset=utf-8"
372372
}
373373
});

0 commit comments

Comments
 (0)