We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5348552 commit ffe7dd1Copy full SHA for ffe7dd1
test/parallel/test-fetch-disabled.mjs
@@ -0,0 +1,9 @@
1
+import '../common/index.mjs';
2
+
3
+import assert from 'assert';
4
5
+assert.strictEqual(typeof globalThis.fetch, 'undefined');
6
+assert.strictEqual(typeof globalThis.FormData, 'undefined');
7
+assert.strictEqual(typeof globalThis.Headers, 'undefined');
8
+assert.strictEqual(typeof globalThis.Request, 'undefined');
9
+assert.strictEqual(typeof globalThis.Response, 'undefined');
0 commit comments