mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
PR-URL: https://github.com/nodejs/node/pull/41811 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com>
11 lines
395 B
JavaScript
11 lines
395 B
JavaScript
// Flags: --no-experimental-fetch
|
|
import '../common/index.mjs';
|
|
|
|
import assert from 'assert';
|
|
|
|
assert.strictEqual(typeof globalThis.fetch, 'undefined');
|
|
assert.strictEqual(typeof globalThis.FormData, 'undefined');
|
|
assert.strictEqual(typeof globalThis.Headers, 'undefined');
|
|
assert.strictEqual(typeof globalThis.Request, 'undefined');
|
|
assert.strictEqual(typeof globalThis.Response, 'undefined');
|