Skip to content

Commit 00f0f7a

Browse files
committed
Allow (and ignore) [ENOENT] in test stderr
This happens every time when building with github actions, simply because the config directory (and its parent directory) don't exist. Not a concern.
1 parent a27ecd3 commit 00f0f7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/integration-test.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ describe('Integration test', function () {
7878
if (d.toString().includes('ExperimentalWarning: The fs.promises API')) return;
7979
// We use _stream_wrap, in some node versions this is deprecated, for now ignore it
8080
if (d.toString().includes('The _stream_wrap module is deprecated')) return;
81+
// If the config parent folder doesn't exist at all, we'll see an ENOENT, that's ok:
82+
if (d.toString().includes('[ENOENT]')) return;
8183

8284
reject();
8385
stderr = stderr + d.toString();

0 commit comments

Comments
 (0)