Skip to content

Commit 062ff25

Browse files
committed
Remove deprecation test exceptions that are no longer used
These were relevant to past versions on Node, but aren't in the current version so we can just drop them entirely here I think (hope).
1 parent aa39596 commit 062ff25

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

test/integration/e2e-api-test.spec.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,6 @@ describe('End-to-end server API test', function () {
8686

8787
serverProcess.stderr!.on('data', (d) => {
8888
console.warn(d.toString());
89-
90-
// Some nodes warn about fs.promises - ignore it.
91-
if (d.toString().includes('ExperimentalWarning: The fs.promises API')) return;
92-
// We use _stream_wrap, in some node versions this is deprecated, for now ignore it
93-
if (d.toString().includes('The _stream_wrap module is deprecated')) return;
94-
// Deprecation in 'ftp' module (from pac-proxy) - only appears in built package, not source,
95-
// as node doesn't show these deprecations by default when fired within node_modules.
96-
if (d.toString().includes('Buffer() is deprecated') && process.env.TEST_BUILT_TARBALL) return;
97-
// If the config parent folder doesn't exist at all, we'll see an ENOENT, that's ok:
98-
if (d.toString().includes('[ENOENT]')) return;
99-
10089
stderr = stderr + d.toString();
10190
});
10291

0 commit comments

Comments
 (0)