mirror of
https://github.com/nodejs/node.git
synced 2025-05-03 00:19:41 +00:00

Refs: https://github.com/nodejs/node/pull/41749 Fixes: https://github.com/nodejs/node/issues/21130 PR-URL: https://github.com/nodejs/node/pull/42701 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
14 lines
540 B
JavaScript
14 lines
540 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');
|
|
|
|
assert.strictEqual(typeof WebAssembly.compileStreaming, 'undefined');
|
|
assert.strictEqual(typeof WebAssembly.instantiateStreaming, 'undefined');
|