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