Skip to content

Commit 1e4a970

Browse files
LiviaMedeirosaduh95
authored andcommitted
test: skip SEA inspect test if inspector is not available
PR-URL: #60872 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 05ec856 commit 1e4a970

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/sea/test-single-executable-application-inspect.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// This tests the creation of a single executable application that can be
44
// debugged using the inspector protocol with NODE_OPTIONS=--inspect-brk=0
55

6-
require('../common');
6+
const common = require('../common');
77
const assert = require('assert');
88
const { writeFileSync, existsSync } = require('fs');
99
const { spawn } = require('child_process');
@@ -16,6 +16,7 @@ const {
1616
} = require('../common/sea');
1717

1818
skipIfSingleExecutableIsNotSupported();
19+
common.skipIfInspectorDisabled();
1920

2021
const configFile = tmpdir.resolve('sea-config.json');
2122
const seaPrepBlob = tmpdir.resolve('sea-prep.blob');

0 commit comments

Comments
 (0)