Skip to content

Commit

Permalink
lib: drop fetch experimental warning
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina committed Nov 4, 2022
1 parent 86088ab commit b37d2e4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion lib/internal/process/pre_execution.js
Expand Up @@ -236,7 +236,6 @@ function setupFetch() {
}

async function fetch(input, init = undefined) {
emitExperimentalWarning('The Fetch API');
return lazyUndici().fetch(input, init);
}

Expand Down
5 changes: 0 additions & 5 deletions test/parallel/test-fetch.mjs
Expand Up @@ -10,11 +10,6 @@ assert.strictEqual(typeof globalThis.Headers, 'function');
assert.strictEqual(typeof globalThis.Request, 'function');
assert.strictEqual(typeof globalThis.Response, 'function');

common.expectWarning(
'ExperimentalWarning',
'The Fetch API is an experimental feature. This feature could change at any time'
);

const server = http.createServer((req, res) => {
// TODO: Remove this once keep-alive behavior can be disabled from the client
// side.
Expand Down

0 comments on commit b37d2e4

Please sign in to comment.