mirror of https://github.com/nodejs/node.git
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');
|