Skip to content

Commit c6eb405

Browse files
committed
Don't fail on "fs.promise is experimental" messages in the tests
1 parent 2d91b14 commit c6eb405

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/integration-test.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ describe('Integration test', function () {
7171
});
7272

7373
serverProcess.stderr!.on('data', (d) => {
74+
// Some nodes warn about fs.promises - ignore it.
75+
if (d.toString().includes('ExperimentalWarning: The fs.promises API')) return;
76+
7477
reject();
7578
stderr = stderr + d.toString();
7679
console.warn(d.toString());

0 commit comments

Comments
 (0)