Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
don't use globalThis.fetch to pass test in Node.js 16
  • Loading branch information
balazsorban44 committed Sep 2, 2023
commit cc7388aee10cc828fca278b1962325d724a195a4
2 changes: 1 addition & 1 deletion test/client-node-max-header-size.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const { execSync } = require('node:child_process')
Comment thread
balazsorban44 marked this conversation as resolved.
const { test } = require('tap')

const command = 'node -e "require(\'./index-fetch\');fetch(\'https://httpbin.org/get\')"'
const command = 'node -e "require(\'./index-fetch\').fetch(\'https://httpbin.org/get\')"'
Comment thread
balazsorban44 marked this conversation as resolved.
Outdated

test("respect Node.js' --max-http-header-size", async (t) => {
t.throws(
Expand Down