From 690dfbbbf50bcbda104127be76a788a8a9efd34c Mon Sep 17 00:00:00 2001 From: Stefan Guggisberg Date: Mon, 30 Oct 2023 09:04:16 +0100 Subject: [PATCH] fix: update test --- test/fetch/index.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/fetch/index.test.js b/test/fetch/index.test.js index ae22a98..3c05919 100644 --- a/test/fetch/index.test.js +++ b/test/fetch/index.test.js @@ -516,6 +516,8 @@ testParams.forEach((params) => { assert(json !== null && typeof json === 'object'); assert.strictEqual(json.body, ''); assert.strictEqual(json.method, 'GET'); + assert.strictEqual(json.headers['content-type'], undefined); + assert.strictEqual(json.headers['content-length'], undefined); }); it('follows redirected POST with json body', async () => {