Skip to content

Commit

Permalink
fix: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-guggisberg committed Oct 30, 2023
1 parent 48551e4 commit 690dfbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/fetch/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 690dfbb

Please sign in to comment.