chore: Fix lint.

This commit is contained in:
cpojer
2026-02-09 09:55:48 +09:00
parent 0497bb0544
commit 6614c3f932
5 changed files with 22 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ function installFailingFetchCapture() {
if (rawBody instanceof ArrayBuffer) {
return Buffer.from(new Uint8Array(rawBody)).toString("utf8");
}
return String(rawBody);
return null;
})();
lastBody = bodyText ? (JSON.parse(bodyText) as unknown) : undefined;
throw new Error("intentional fetch abort (test)");