Skip to content

Commit b37d2e4

Browse files
committed
lib: drop fetch experimental warning
Signed-off-by: Matteo Collina <[email protected]>
1 parent 86088ab commit b37d2e4

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

lib/internal/process/pre_execution.js

-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ function setupFetch() {
236236
}
237237

238238
async function fetch(input, init = undefined) {
239-
emitExperimentalWarning('The Fetch API');
240239
return lazyUndici().fetch(input, init);
241240
}
242241

test/parallel/test-fetch.mjs

-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ assert.strictEqual(typeof globalThis.Headers, 'function');
1010
assert.strictEqual(typeof globalThis.Request, 'function');
1111
assert.strictEqual(typeof globalThis.Response, 'function');
1212

13-
common.expectWarning(
14-
'ExperimentalWarning',
15-
'The Fetch API is an experimental feature. This feature could change at any time'
16-
);
17-
1813
const server = http.createServer((req, res) => {
1914
// TODO: Remove this once keep-alive behavior can be disabled from the client
2015
// side.

0 commit comments

Comments
 (0)