Skip to content

Commit 9a7700d

Browse files
jasnelltargos
authored andcommitted
test: skip test-watch-mode inspect when no inspector
The test for watch mode with inspect fails when the inspector is not available (such as when configured with `--without-ssl`). This commit skips the test in such cases. PR-URL: #59440 Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 6ae202f commit 9a7700d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-watch-mode.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ console.log(values.random);
671671
]);
672672
});
673673

674-
it('should run when `--watch --inspect`', async () => {
674+
it('should run when `--watch --inspect`', { skip: !process.features.inspector }, async () => {
675675
const file = createTmpFile();
676676
const args = ['--watch', '--inspect', file];
677677
const { stdout, stderr } = await runWriteSucceed({ file, watchedFile: file, watchFlag: null, args });

0 commit comments

Comments
 (0)