Skip to content
This repository was archived by the owner on Feb 25, 2022. It is now read-only.

Commit 95251ed

Browse files
test: fix excel.integration.test
1 parent a0868d8 commit 95251ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/excel.integration.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async function main(params = {}, env = {}) {
2828
});
2929
return {
3030
statusCode: resp.status,
31-
body: JSON.parse(resp.body.toString()),
31+
body: await resp.json(),
3232
headers: [...resp.headers.keys()].reduce((result, key) => {
3333
// eslint-disable-next-line no-param-reassign
3434
result[key] = resp.headers.get(key);

0 commit comments

Comments
 (0)