diff options
author | Michaƫl Zasso <targos@protonmail.com> | 2022-02-18 16:46:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-18 15:46:32 +0000 |
commit | 68c4b8d56d653a77747648b933618ade63bf2007 (patch) | |
tree | 1d08fdc3d807b1b79cfa8aba85641abb0fc2bdd9 /test/common/index.js | |
parent | ffe7dd1ad16ca8adbb0af8170ad69ca11da9912d (diff) | |
download | node-new-68c4b8d56d653a77747648b933618ade63bf2007.tar.gz |
lib: add FormData global when fetch is enabled
PR-URL: https://github.com/nodejs/node/pull/41956
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'test/common/index.js')
-rw-r--r-- | test/common/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/common/index.js b/test/common/index.js index 46a59b54d5..d550d6b8fd 100644 --- a/test/common/index.js +++ b/test/common/index.js @@ -303,6 +303,7 @@ if (global.structuredClone) { if (global.fetch) { knownGlobals.push( global.fetch, + global.FormData, global.Request, global.Response, global.Headers, |